]> git.baikalelectronics.ru Git - kernel.git/commit
ip6mr: advertise new mfc entries via rtnl
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 4 Dec 2012 01:13:41 +0000 (01:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Dec 2012 18:08:11 +0000 (13:08 -0500)
commit1436470cdfe37fa72eedfdb295e057ba95f436c2
tree9b2e5b2609648e5ac26675e336c269875bf30161
parent29fe62b5ee47ae61fbf991c0cc9572efcac0a64a
ip6mr: advertise new mfc entries via rtnl

This patch allows to monitor mf6c activities via rtnetlink.
To avoid parsing two times the mf6c oifs, we use maxvif to allocate the rtnl
msg, thus we may allocate some superfluous space.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c