Re: RTNL assert

Andrew Morton
2000-10-28T16:19:12Z

"Stephen E. Clark" wrote:
>
> I also get the same error if I try to configure in normal IPV4
> tunneling. I guess it needs the same kind of patch.

Yep.

--- linux-2.4.0-test10-pre5/net/ipv4/ipip.c Sat Sep 9 16:19:30 2000
+++ linux-akpm/net/ipv4/ipip.c Sun Oct 29 03:17:38 2000
@@ -894,7 +894,9 @@
#ifdef MODULE
register_netdev(&ipip_fb_tunnel_dev);
#else
+ rtnl_lock();
register_netdevice(&ipip_fb_tunnel_dev);
+ rtnl_unlock();
#endif

inet_add_protocol(&ipip_protocol);