From: Nicolas Dichtel Date: Tue, 4 Dec 2012 01:13:39 +0000 (+0000) Subject: ipmr/ip6mr: allow to get unresolved cache via netlink X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1eb99af52c4bc705f4042f37f255975acfc738f2;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed