patch-2.1.22 linux/include/net/scm.h
Next file: linux/include/net/sock.h
Previous file: linux/include/net/route.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Jan 19 15:47:27 1997
- Orig file:
v2.1.21/linux/include/net/scm.h
- Orig date:
Thu Dec 12 19:37:20 1996
diff -u --recursive --new-file v2.1.21/linux/include/net/scm.h linux/include/net/scm.h
@@ -39,7 +39,7 @@
scm->creds.gid = current->gid;
scm->creds.pid = current->pid;
scm->sock = sock;
- if (!msg->msg_control)
+ if (msg->msg_controllen <= 0)
return 0;
return __scm_send(sock, msg, scm);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov