From: Lubomir Rintel Date: Mon, 27 Oct 2014 16:39:16 +0000 (+0100) Subject: ipv6: notify userspace when we added or changed an ipv6 token X-Git-Tag: firefly_0821_release~176^2~2938^2~23 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b2ed64a97430a26a63c6ea91c9b50e639a98dfbc;p=firefly-linux-kernel-4.4.55.git ipv6: notify userspace when we added or changed an ipv6 token NetworkManager might want to know that it changed when the router advertisement arrives. Signed-off-by: Lubomir Rintel Cc: Hannes Frederic Sowa Cc: Daniel Borkmann Acked-by: Daniel Borkmann Signed-off-by: David S. Miller --- diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 725c763270a0..0169ccf5aa4f 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -4531,6 +4531,7 @@ static int inet6_set_iftoken(struct inet6_dev *idev, struct in6_addr *token) } write_unlock_bh(&idev->lock); + inet6_ifinfo_notify(RTM_NEWLINK, idev); addrconf_verify_rtnl(); return 0; }