diff options
author | Stephen Suryaputra <ssuryaextr@gmail.com> | 2019-06-26 02:21:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-26 12:40:10 -0700 |
commit | 5b18f1289808fee5d04a7e6ecf200189f41a4db6 (patch) | |
tree | c4f8ffda52e1fa30489d1eae8c7f4066c0fc2df6 /drivers/net/ethernet/aquantia/atlantic/hw_atl | |
parent | ee4297420d56a0033a8593e80b33fcc93fda8509 (diff) | |
download | linux-5b18f1289808fee5d04a7e6ecf200189f41a4db6.tar.bz2 |
ipv4: reset rt_iif for recirculated mcast/bcast out pkts
Multicast or broadcast egress packets have rt_iif set to the oif. These
packets might be recirculated back as input and lookup to the raw
sockets may fail because they are bound to the incoming interface
(skb_iif). If rt_iif is not zero, during the lookup, inet_iif() function
returns rt_iif instead of skb_iif. Hence, the lookup fails.
v2: Make it non vrf specific (David Ahern). Reword the changelog to
reflect it.
Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/hw_atl')
0 files changed, 0 insertions, 0 deletions