Skip to content

Revert "veth: Avoid drop packets when xdp_redirect performs" and its fix

Heng Qi bpf netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2Revert "bpf: veth driver panics when xdp prog attached before veth_open"drivers/net/veth.c+1 -10 repliesApplied
2/2Revert "veth: Avoid drop packets when xdp_redirect performs"drivers/net/veth.c+12 -760 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchXuan Zhuo
1/2R-b
2/2R-b

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 0/2] Revert "veth: Avoid drop packets when xdp_redirect performs" and its fix

This patch 2e0de6366ac16 enables napi of the peer veth automatically when the veth loads the xdp, but it breaks down as reported by Paolo and John. So reverting it and its fix, we will rework the patch and make it more robust based on comments.

Heng Qi (2):
Revert "bpf: veth driver panics when xdp prog attached before
veth_open"
Revert "veth: Avoid drop packets when xdp_redirect performs"

 drivers/net/veth.c | 88 +++++++---------------------------------------
 1 file changed, 12 insertions(+), 76 deletions(-)
Signature · 4 lines
Previous discussion in
https://lore.kernel.org/all/[email protected]/

2.19.1.6.gb485710b