patch-2.1.77 linux/include/net/sock.h

Next file: linux/init/main.c
Previous file: linux/include/linux/soundmodem.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.76/linux/include/net/sock.h linux/include/net/sock.h
@@ -892,7 +892,7 @@
 	if (sk->filter)
 	{
 		if (sk_filter(skb, sk->filter_data, sk->filter))
-			return -1;	/* Toss packet */
+			return -EPERM;	/* Toss packet */
 	}
 #endif /* CONFIG_FILTER */
 

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