All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] net: fix the mirred packet drop due to the incorrect dst
@ 2021-11-12 16:33 Xin Long
  2021-11-12 16:33 ` [PATCH net 1/2] net: sched: act_mirred: drop dst for the direction from egress to ingress Xin Long
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Xin Long @ 2021-11-12 16:33 UTC (permalink / raw)
  To: network dev
  Cc: Jamal Hadi Salim, Cong Wang, Jiri Pirko, davem, kuba,
	Marcelo Ricardo Leitner

This issue was found when using OVS HWOL on OVN-k8s. These packets
dropped on rx path were seen with output dst, which should've been
dropped from the skbs when redirecting them.

The 1st patch is to the fix and the 2nd is a selftest to reproduce
and verify it.

Davide Caratti (1):
  selftests: add a test case for mirred egress to ingress

Xin Long (1):
  net: sched: act_mirred: drop dst for the direction from egress to
    ingress

 net/sched/act_mirred.c                        | 11 +++--
 tools/testing/selftests/net/forwarding/config |  1 +
 .../selftests/net/forwarding/tc_actions.sh    | 47 ++++++++++++++++++-
 3 files changed, 55 insertions(+), 4 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2021-11-17  3:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-12 16:33 [PATCH net 0/2] net: fix the mirred packet drop due to the incorrect dst Xin Long
2021-11-12 16:33 ` [PATCH net 1/2] net: sched: act_mirred: drop dst for the direction from egress to ingress Xin Long
2021-11-12 16:33 ` [PATCH net 2/2] selftests: add a test case for mirred " Xin Long
2021-11-12 16:34 ` [PATCH net 0/2] net: fix the mirred packet drop due to the incorrect dst Xin Long
2021-11-15  5:05 ` Cong Wang
2021-11-16 15:55 ` mleitner
2021-11-17  3:42 ` Jakub Kicinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.