On 6/26/19 12:21 AM, Stephen Suryaputra wrote: > 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 <ssuryae...@gmail.com> > --- > include/net/route.h | 1 + > net/ipv4/ip_output.c | 12 ++++++++++++ > net/ipv4/route.c | 33 +++++++++++++++++++++++++++++++++ > 3 files changed, 46 insertions(+)
Reviewed-by: David Ahern <dsah...@gmail.com>