[PATCH v3 00/10] net/tap: bug fixes and add test
Stephen Hemminger
stephen at networkplumber.org
Fri Feb 20 06:02:02 CET 2026
Add a unit test suite for the TAP PMD, clean up minor code issues,
and fix several resource leaks and a use-after-free on error paths.
v3
- drop not ready full ifindex change
- fix AI review feedback in test code
v2
- fix typos in previous version
- preserve same fixed MAC address as original
Stephen Hemminger (10):
test: add unit tests for TAP PMD
net/tap: replace runtime speed capability with constant
net/tap: clarify TUN/TAP flag assignment
net/tap: extend fixed MAC range to 16 bits
net/tap: skip checksum on truncated L4 headers
net/tap: fix resource leaks in tap create error path
net/tap: fix resource leaks in secondary process probe
net/tap: free IPC reply buffer on queue count mismatch
net/tap: fix use-after-free on remote flow creation failure
net/tap: free remote flow when implicit rule already exists
app/test/meson.build | 1 +
app/test/test_pmd_tap.c | 906 ++++++++++++++++++++++++++++++++++
drivers/net/tap/rte_eth_tap.c | 97 ++--
drivers/net/tap/tap_flow.c | 23 +-
4 files changed, 966 insertions(+), 61 deletions(-)
create mode 100644 app/test/test_pmd_tap.c
--
2.51.0
More information about the dev
mailing list