patch-2.0.37 linux/net/netlink.c
Next file: linux/net/netrom/af_netrom.c
Previous file: linux/net/ipv4/rarp.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sun Jun 13 10:21:04 1999
- Orig file:
v2.0.36/linux/net/netlink.c
- Orig date:
Wed Oct 15 14:47:26 1997
diff -u --recursive --new-file v2.0.36/linux/net/netlink.c linux/net/netlink.c
@@ -198,6 +198,7 @@
if(active_map&(1<<unit))
return -EBUSY;
active_map|=(1<<unit);
+ open_map&=~(1<<unit);
netlink_handler[unit]=function;
return 0;
}
@@ -206,6 +207,7 @@
{
active_map&=~(1<<unit);
netlink_handler[unit]=netlink_err;
+ open_map&=~(1<<unit);
}
int netlink_post(int unit, struct sk_buff *skb)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov