Skip to content

net: fix the mirred packet drop due to the incorrect dst

Xin Long netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2net: sched: act_mirred: drop dst for the direction from egress to ingressnet/sched/act_mirred.c+8 -30 replies
2/2selftests: add a test case for mirred egress to ingresstools/testing/selftests/net/forwarding/config tools/testing/selftests/net/forwarding/tc_actions.sh+47 -10 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.

PatchCong WangMarcelo Ricardo Leitner
SeriesA-b R-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 v1 thread

Cover letter [PATCH net 0/2] net: fix the mirred packet drop due to the incorrect dst

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(-)
Signature · 1 line
2.27.0