patch-pre2.0.4 linux/net/unix/af_unix.c

Next file: linux/Documentation/Changes
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.3/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -505,6 +505,7 @@
 			return err;
 		skb->sk=sk;				/* So they know it is us */
 		skb->free=1;
+		skb->h.filp=NULL;
 		sk->state=TCP_CLOSE;
 		unix_mkname(sunaddr, addr_len);
 		other=unix_find_other(sunaddr->sun_path, &err);


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this