patch-2.4.0-test10 linux/net/ipv4/ip_gre.c
Next file: linux/net/ipv4/ip_input.c
Previous file: linux/net/ipv4/ip_forward.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Mon Oct 30 14:34:12 2000
- Orig file:
v2.4.0-test9/linux/net/ipv4/ip_gre.c
- Orig date:
Mon Aug 28 12:03:10 2000
diff -u --recursive --new-file v2.4.0-test9/linux/net/ipv4/ip_gre.c linux/net/ipv4/ip_gre.c
@@ -1266,7 +1266,9 @@
#ifdef MODULE
register_netdev(&ipgre_fb_tunnel_dev);
#else
+ rtnl_lock();
register_netdevice(&ipgre_fb_tunnel_dev);
+ rtnl_unlock();
#endif
inet_add_protocol(&ipgre_protocol);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)