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

This patch allows to monitor mfc activities via rtnetlink.
To avoid parsing two times the mfc 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/ipv4/ipmr.c