patch-2.1.91 linux/net/ipv4/ip_masq.c
Next file: linux/net/ipv4/ip_masq_autofw.c
Previous file: linux/net/ipv4/ip_fw.c
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Mon Mar 23 16:48:25 1998
-  Orig file: 
v2.1.90/linux/net/ipv4/ip_masq.c
-  Orig date: 
Wed Dec 10 09:45:16 1997
diff -u --recursive --new-file v2.1.90/linux/net/ipv4/ip_masq.c linux/net/ipv4/ip_masq.c
@@ -1819,12 +1819,8 @@
 	struct ip_fw_masqctl *mctl = arg;
 	int ret = EINVAL;
 
-	ip_masq_lockz(&__ip_masq_lock, &masq_wait, 0);
-
 	if (1) /*  (mctl->mctl_action == IP_MASQ_MOD_CTL)  */
 		ret = ip_masq_mod_ctl(optname, mctl, arglen);
-
-	ip_masq_unlockz(&__ip_masq_lock, &masq_wait, 0);
 
 	return ret;
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov