patch-1.3.38 linux/net/core/firewall.c

Next file: linux/net/core/iovec.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/net/core/firewall.c linux/net/core/firewall.c
@@ -23,8 +23,6 @@
 	
 	if(pf<0||pf>=NPROTO)
 		return -EINVAL;
-	if(pf!=PF_INET)
-		return -ENOPROTOOPT;
 	
 	/*
 	 *	Don't allow two people to adjust at once.
@@ -69,8 +67,6 @@
 	
 	if(pf<0||pf>=NPROTO)
 		return -EINVAL;
-	if(pf!=PF_INET)
-		return -ENOPROTOOPT;
 	
 	/*
 	 *	Don't allow two people to adjust at once.

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