Re: [PATCH net v2] net: ipmr: Fix some mroute forwarding issues in vrf's

2017-06-09 Thread Donald Sharp
I'll change it over to this way. No problem. donald On Fri, Jun 9, 2017 at 10:54 AM, David Ahern wrote: > On 6/9/17 8:22 AM, Donald Sharp wrote: >> @@ -988,7 +988,16 @@ static void ipmr_cache_resolve(struct net *net, struct >> mr_table *mrt, >> >> rtnl_unicast(skb, net, N

Re: [PATCH net v2] net: ipmr: Fix some mroute forwarding issues in vrf's

2017-06-09 Thread David Ahern
On 6/9/17 8:22 AM, Donald Sharp wrote: > @@ -988,7 +988,16 @@ static void ipmr_cache_resolve(struct net *net, struct > mr_table *mrt, > > rtnl_unicast(skb, net, NETLINK_CB(skb).portid); > } else { > - ip_mr_forward(net, mrt, skb, c, 0); > +

Re: [PATCH net v2] net: ipmr: Fix some mroute forwarding issues in vrf's

2017-06-09 Thread Andrew Lunn
> static void ip_mr_forward(struct net *net, struct mr_table *mrt, > - struct sk_buff *skb, struct mfc_cache *cache, > - int local); > + struct net_device *dev, struct sk_buff *skb, > + struct mfc_cache *cac

[PATCH net v2] net: ipmr: Fix some mroute forwarding issues in vrf's

2017-06-09 Thread Donald Sharp
This patch fixes two issues: 1) When forwarding on *,G mroutes that are in a vrf, the kernel was dropping information about the actual incoming interface when calling ip_mr_forward from ip_mr_input. This caused ip_mr_forward to send the multicast packet back out the incoming interface. Fix this b