[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aac5b560-d757-3281-8e69-7953e7c4b418@cumulusnetworks.com>
Date: Thu, 22 Sep 2016 09:14:49 -0600
From: David Ahern <dsa@...ulusnetworks.com>
To: Mark Tomlinson <mark.tomlinson@...iedtelesis.co.nz>,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: VRF: Fix receiving multicast traffic
On 9/21/16 10:13 PM, Mark Tomlinson wrote:
> The previous patch to ensure that the original iif was used when
> checking for forwarding also meant that this same interface was used to
> determine whether multicast packets should be received or not. This was
> incorrect, and would cause multicast packets to be dropped.
>
> The fix here is to use skb->dev when checking multicast addresses.
> skb->dev has been set to the l3mdev by this point, so the check will be
> against that, rather than the ingress interface.
l3mdev devices do not support IPv4 multicast so checking mcast against that device should not be working at all. For that reason I was fine with the change in the previous patch. ie., you want the real ingress device there not the vrf device.
What test are you running that says your previous patch broke something?
Powered by blists - more mailing lists