diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2012-12-04 02:13:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-04 19:08:11 +0100 |
commit | 1eb99af52c4bc705f4042f37f255975acfc738f2 (patch) | |
tree | 7ccdd3e0185a44644cb68d9e3e1f6c46cab71943 /arch | |
parent | ipmr/ip6mr: report origin of mfc entry into rtnl msg (diff) | |
download | linux-1eb99af52c4bc705f4042f37f255975acfc738f2.tar.xz linux-1eb99af52c4bc705f4042f37f255975acfc738f2.zip |
ipmr/ip6mr: allow to get unresolved cache via netlink
/proc/net/ip[6]_mr_cache allows to get all mfc entries, even if they are put in
the unresolved list (mfc[6]_unres_queue). But only the table RT_TABLE_DEFAULT is
displayed.
This patch adds the parsing of the unresolved list when the dump is made via
rtnetlink, hence each table can be checked.
In IPv6, we set rtm_type in ip6mr_fill_mroute(), because in case of unresolved
mfc __ip6mr_fill_mroute() will not set it. In IPv4, it is already done.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions