Skip to content

ipv4: fix flowi4_iif for input routing

Cong Wang netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesIn review

Changes in v2 from the cover letter

* merge the first two patches into one
* fix fib_check_nh() too
* add this cover letter

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ipv4,fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iifinclude/net/flow.h include/net/net_namespace.h net/ipv4/fib_frontend.c +4 more+15 -160 replies
2/2ipv4,route: pass 0 instead of LOOPBACK_IFINDEX to fib_validate_source()net/ipv4/route.c+1 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJulian Anastasov
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Patch net v2 0/2] ipv4: fix flowi4_iif for input routing

This patchset fixes ->flowi4_iif for input routing and rp filter, based on suggestion from Julian. See per patch for details.

v1 -> v2:
* merge the first two patches into one
* fix fib_check_nh() too
* add this cover letter

Cc Eric Biederman <[email protected]>
Cc Julian Anastasov <[email protected]>
Cc David S. Miller <[email protected]>

Cong Wang (2):
ipv4,fib: pass LOOPBACK_IFINDEX instead of 0 to flowi4_iif ipv4,route: pass 0 instead of LOOPBACK_IFINDEX to
fib_validate_source()

 include/net/flow.h                | 10 +++++++++-
 include/net/net_namespace.h       |  9 +--------
 net/ipv4/fib_frontend.c           |  2 +-
 net/ipv4/fib_semantics.c          |  1 +
 net/ipv4/ipmr.c                   |  2 +-
 net/ipv4/netfilter/ipt_rpfilter.c |  5 +----
 net/ipv4/route.c                  |  3 +--
 net/ipv6/ip6mr.c                  |  2 +-
 8 files changed, 16 insertions(+), 18 deletions(-)
Signature · 1 line
1.8.3.1