Message ID | 0a091eb1a98e71c4a9537d5e6fa995ac589472a7.1411308211.git.hannes@stressinduktion.org |
---|---|
State | Deferred, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 39d3335..a2d2626 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -4781,10 +4781,11 @@ static void __ipv6_ifa_notify(int event, struct inet6_ifaddr *ifp) if (ip6_del_rt(ifp->rt)) dst_free(&ifp->rt->dst); + + rt_genid_bump_ipv6(net); break; } atomic_inc(&net->ipv6.dev_addr_genid); - rt_genid_bump_ipv6(net); } static void ipv6_ifa_notify(int event, struct inet6_ifaddr *ifp)
fn_sernum takes care that on address insertion the sockets throw away their cached dst_entries and do a relookup. Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: YOSHIFUJI Hideaki <hideaki@yoshifuji.org> Cc: Vlad Yasevich <vyasevich@gmail.com> Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com> Cc: Martin Lau <kafai@fb.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> --- net/ipv6/addrconf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)