diff options
Diffstat (limited to 'net/ipv4/ipconfig.c')
-rw-r--r-- | net/ipv4/ipconfig.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 569b53dd2..b595684ed 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c @@ -167,6 +167,7 @@ static void __init ic_close_devs(void) struct ic_device *d, *next; struct net_device *dev; + rtnl_shlock(); next = ic_first_dev; while ((d = next)) { next = d->next; @@ -177,6 +178,7 @@ static void __init ic_close_devs(void) } kfree_s(d, sizeof(struct ic_device)); } + rtnl_shunlock(); } /* |