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.

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       | 896 ++++++++++++++++++++++++++++++++++
 drivers/net/tap/rte_eth_tap.c |  99 ++--
 drivers/net/tap/tap_flow.c    |  23 +-
 4 files changed, 957 insertions(+), 62 deletions(-)
 create mode 100644 app/test/test_pmd_tap.c

-- 
2.51.0

Reply via email to