ipv4: Pass explicit saddr/daddr args to ipmr_get_route().
This eliminates the need to use rt->rt_{src,dst}. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -2857,7 +2857,9 @@ static int rt_fill_info(struct net *net,
|
||||
|
||||
if (ipv4_is_multicast(dst) && !ipv4_is_local_multicast(dst) &&
|
||||
IPV4_DEVCONF_ALL(net, MC_FORWARDING)) {
|
||||
int err = ipmr_get_route(net, skb, r, nowait);
|
||||
int err = ipmr_get_route(net, skb,
|
||||
rt->rt_src, rt->rt_dst,
|
||||
r, nowait);
|
||||
if (err <= 0) {
|
||||
if (!nowait) {
|
||||
if (err == 0)
|
||||
|
Reference in New Issue
Block a user