ipv6: fix nl group when advertising a new link
Subsystems (3)
PATCH 1/1 ipv6: fix nl group when advertising a new link
Hi,
please consider the following patch.
Regards,
Nicolas
Quoted 1 line
From
d2ed52e7fcb639470c89045f7b0ce31eb681896aMon Sep 17 00:00:00 2001
From: Wang Xuefu <[email protected]>
Date: Wed, 8 Dec 2010 10:24:48 +0100
Subject: [PATCH] ipv6: fix nl group when advertising a new link
New idev are advertised with NL group RTNLGRP_IPV6_IFADDR, but should use RTNLGRP_IPV6_IFINFO.
Bug was introduced by commit 8d7a76c9.
--- net/ipv6/addrconf.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
net/ipv6/addrconf.c +2 -2
@@ -4021,11 +4021,11 @@ void inet6_ifinfo_notify(int event, struct inet6_dev *idev)kfree_skb (skb); goto errout; } -rtnl_notify (skb, net,0 ,RTNLGRP_IPV6_IFADDR ,NULL ,GFP_ATOMIC ); +rtnl_notify (skb, net,0 ,RTNLGRP_IPV6_IFINFO ,NULL ,GFP_ATOMIC );return ; errout:if (err <0 ) -rtnl_set_sk_err (net,RTNLGRP_IPV6_IFADDR , err); +rtnl_set_sk_err (net,RTNLGRP_IPV6_IFINFO , err); }static inline size_t inet6_prefix_nlmsg_size (void )
Signature · 1 line
1.5.6.5
Quoted 11 lines · Nicolas Dichtel
Quoted 1 line
From
d2ed52e7fcb639470c89045f7b0ce31eb681896aMon Sep 17 00:00:00 2001From: Wang Xuefu <[email protected]>
Date: Wed, 8 Dec 2010 10:24:48 +0100
Subject: [PATCH] ipv6: fix nl group when advertising a new linkNew idev are advertised with NL group
RTNLGRP_IPV6_IFADDR, but should useRTNLGRP_IPV6_IFINFO.
Bug was introduced by commit8d7a76c9.Signed-off-by Wang Xuefu <[email protected]>Signed-off-by Nicolas Dichtel <[email protected]>
From: Thomas Graf <[email protected]>
Date: Wed, 8 Dec 2010 05:04:54 -0500
Quoted 6 lines · Nicolas Dichtel
Quoted 5 lines
Quoted 1 line
From
d2ed52e7fcb639470c89045f7b0ce31eb681896aMon Sep 17 00:00:00 2001From: Wang Xuefu <[email protected]>
Date: Wed, 8 Dec 2010 10:24:48 +0100
Subject: [PATCH] ipv6: fix nl group when advertising a new link
Quoted 8 lines
Quoted 6 lines
New idev are advertised with NL group
RTNLGRP_IPV6_IFADDR, but should useRTNLGRP_IPV6_IFINFO.
Bug was introduced by commit8d7a76c9.Signed-off-by Wang Xuefu <[email protected]>Signed-off-by Nicolas Dichtel <[email protected]>Acked-by Thomas Graf <[email protected]>
Applied to net-2.6, thanks.