veth: fix peer NETDEV_XDP_ACT_NDO_XMIT after GRO is toggled while down
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | veth: fix peer NETDEV_XDP_ACT_NDO_XMIT after GRO is toggled while downdrivers/ | +1 | 3 replies | Applied |
| 2/2 | selftests: net: veth: test peer ndo-xmit after GRO toggle while downtools/ | +46 | 1 reply | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Toke Høiland-Jørgensen | Jesper Dangaard Brouer | Lorenzo Bianconi |
|---|---|---|---|
| 1/2 | R-b | A-b | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net 0/2] veth: fix peer NETDEV_XDP_ACT_NDO_XMIT after GRO is toggled while down
Toggling GRO on a veth device while it is down leaves its peer's NETDEV_XDP_ACT_NDO_XMIT flag stale once the device comes up. XDP redirects into the peer are then rejected with -EOPNOTSUPP, or, if GRO was turned off, accepted and then dropped with -ENXIO. Patch 1 refreshes the peer's flags in veth_open().
Patch 2 extends veth.sh to check the peer's flag after GRO is toggled while the device is down, in both directions.
Tianyi Gao (2):
veth: fix peer NETDEV_XDP_ACT_NDO_XMIT after GRO is toggled while down
selftests: net: veth: test peer ndo-xmit after GRO toggle while down
drivers/net/veth.c | 1 + tools/testing/selftests/net/veth.sh | 46 +++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+)
base-commit: d5a007b9b457c915ab1a53227e8939e4018aa97a
Signature · 1 line
2.55.0