patch-2.1.101 linux/net/unix/garbage.c

Next file: linux/Documentation/ARM-README
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/net/unix/garbage.c linux/net/unix/garbage.c
@@ -72,9 +72,9 @@
 		struct sock * s = sock->sk;
 
 		/*
-		 *	AF_UNIX ?
+		 *	PF_UNIX ?
 		 */
-		if (s && sock->ops && sock->ops->family == AF_UNIX)
+		if (s && sock->ops && sock->ops->family == PF_UNIX)
 			u_sock = s;
 	}
 	return u_sock;


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov