Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while…
… loop In commit 19e4e76 ("ipv4: Fix raw socket lookup for local traffic"), the dif argument to __raw_v4_lookup() is coming from the returned value of inet_iif() but the change was done only for the first lookup. Subsequent lookups in the while loop still use skb->dev->ifIndex. Fixes: 19e4e76 ("ipv4: Fix raw socket lookup for local traffic") Signed-off-by: Stephen Suryaputra <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information