>From 70e4bc2a8fe08fb30251f786990a91d3ed2232e6 Mon Sep 17 00:00:00 2001 From: Ido Schimmel Date: Sat, 20 Jan 2018 15:29:33 +0200 Subject: [PATCH] ipv6: Do not sleep in RCU read-side critical section Signed-off-by: Ido Schimmel --- net/ipv6/addrconf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index ab99cb641b7c..9ad1365c91ca 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -4356,7 +4356,8 @@ static void addrconf_verify_rtnl(void) spin_lock(&ifpub->lock); ifpub->regen_count = 0; spin_unlock(&ifpub->lock); - ipv6_create_tempaddr(ifpub, ifp, true); + ipv6_create_tempaddr(ifpub, ifp, + false); in6_ifa_put(ifpub); in6_ifa_put(ifp); goto restart; -- 2.14.3