netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch net v3 0/2] ipv4: relax source validation check for loopback packets
@ 2019-07-17 21:41 Cong Wang
  2019-07-17 21:41 ` [Patch net v3 1/2] fib: " Cong Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Cong Wang @ 2019-07-17 21:41 UTC (permalink / raw)
  To: netdev; +Cc: dsahern, Cong Wang

This patchset fixes a corner case when loopback packets get dropped
by rp_filter when we route them from veth to lo. Patch 1 is the fix
and patch 2 provides a simplified test case for this scenario.

Cong Wang (2):
  fib: relax source validation check for loopback packets
  selftests: add a test case for rp_filter

---
v3: use dummy1 instead of dummy0 in the test case
v2: remove a redundant if check and add a test case

 net/ipv4/fib_frontend.c                  |  5 ++++
 tools/testing/selftests/net/fib_tests.sh | 35 +++++++++++++++++++++++-
 2 files changed, 39 insertions(+), 1 deletion(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-11-29  6:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-17 21:41 [Patch net v3 0/2] ipv4: relax source validation check for loopback packets Cong Wang
2019-07-17 21:41 ` [Patch net v3 1/2] fib: " Cong Wang
2019-07-17 21:59   ` David Ahern
2019-07-17 21:41 ` [Patch net v3 2/2] selftests: add a test case for rp_filter Cong Wang
2019-07-17 21:54   ` David Ahern
2021-11-10  9:18   ` Hangbin Liu
2021-11-15  5:08     ` Cong Wang
2021-11-15 16:06       ` David Ahern
2021-11-17  3:19       ` Hangbin Liu
2021-11-17  4:15         ` David Ahern
2021-11-24  1:05           ` Cong Wang
2021-11-24  1:43             ` Hangbin Liu
2021-11-29  6:40               ` Peilin Ye
2019-07-17 22:23 ` [Patch net v3 0/2] ipv4: relax source validation check for loopback packets David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).