]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d8e35e134bbc7e69ef4f4a4bcf76e75a9d94549
treea2df2bfcc8e549e633cda4e3958d61aeb975b994
parentd72105470bfc1a60bc41f0df876615dd6ae542d3
ipv4/route/rtnl: get mcast attributes when dst is multicast

Commit e372cc93dea6 (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