[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190625.133123.667513822232767903.davem@davemloft.net>
Date: Tue, 25 Jun 2019 13:31:23 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ssuryaextr@...il.com
Cc: netdev@...r.kernel.org, dsahern@...il.com
Subject: Re: [PATCH net] vrf: reset rt_iif for recirculated mcast out pkts
From: Stephen Suryaputra <ssuryaextr@...il.com>
Date: Tue, 25 Jun 2019 06:33:59 -0400
> Multicast egress packets has skb_rtable(skb)->rt_iif set to the oif.
> Depending on the socket, these packets might be recirculated back as
> input and raw sockets that are opened for them are bound to the VRF. But
> since skb_rtable(skb) is set and its rt_iif is non-zero, inet_iif()
> function returns rt_iif instead of skb_iif (the VRF netdev). Hence, the
> socket lookup fails.
>
> Signed-off-by: Stephen Suryaputra <ssuryaextr@...il.com>
David A., please review.
Thank you.
Powered by blists - more mailing lists