ipv4/route/rtnl: get mcast attributes when dst is multicast
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 4 Dec 2012 01:03:07 +0000 (01:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2012 17:24:33 +0000 (12:24 -0500)
commit8caaf7b608ae27f7e7d5f5df6f87039db556d4bb
treea2df2bfcc8e549e633cda4e3958d61aeb975b994
parente3d8fabee3b66ce158b2603f270479b84b6e4ba7
ipv4/route/rtnl: get mcast attributes when dst is multicast

Commit f1ce3062c538 (ipv4: Remove 'rt_dst' from 'struct rtable') removes the
call to ipmr_get_route(), which will get multicast parameters of the route.

I revert the part of the patch that remove this call. I think the goal was only
to get rid of rt_dst field.

The patch is only compiled-tested. My first idea was to remove ipmr_get_route()
because rt_fill_info() was the only user, but it seems the previous patch cleans
the code a bit too much ;-)

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