commit | adfa85e45dac616ff4f8bfceff1621ccafc0b1ff | [log] [tgz] |
---|---|---|
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | Tue Dec 04 01:13:37 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 04 13:08:10 2012 -0500 |
tree | 1d9880ca13a79fbd386bd5bbd48d3031211f8fa3 | |
parent | 70b386a0cc65041fb01aacf5d4b8d1fa49fc8ce9 [diff] |
ipmr/ip6mr: advertise mfc stats via rtnetlink These statistics can be checked only via /proc/net/ip_mr_cache or SIOCGETSGCNT[_IN6] and thus only for the table RT_TABLE_DEFAULT. Advertising them via rtnetlink allows to get statistics for all cache entries, whatever the table is. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>