]> Git Repo - linux.git/commitdiff
ipv6: notify userspace when we added or changed an ipv6 token
authorLubomir Rintel <[email protected]>
Mon, 27 Oct 2014 16:39:16 +0000 (17:39 +0100)
committerDavid S. Miller <[email protected]>
Wed, 29 Oct 2014 18:35:32 +0000 (14:35 -0400)
NetworkManager might want to know that it changed when the router advertisement
arrives.

Signed-off-by: Lubomir Rintel <[email protected]>
Cc: Hannes Frederic Sowa <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv6/addrconf.c

index 725c763270a067e3945ec3056c4f5893cf9f7060..0169ccf5aa4fec8f691ea3bed77b4c7e5587d2a5 100644 (file)
@@ -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;
 }
This page took 0.062416 seconds and 4 git commands to generate.