Fix crash with vpmd and mbuf debug
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ixgbe: add "cold" attribute to setup/teardown fnsdrivers/ drivers/ | +39 | 6 replies | |
| 2/2 | ixgbe: check mbuf refcnt when clearing RX/TX ringdrivers/ drivers/ | +9 | 5 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Fix crash with vpmd and mbuf debug
When mbuf debug support is turned on in the build time config, crashes will occur when clearing up the RX/TX rings, if the 10G vector PMD is in use. This error can be reproduced using testpmd.
This patchset makes the setup/teardown code easier to debug by marking "cold" code paths as such, and then fixes the errors by checking for already-freed mbufs when clearing the rings.
Bruce Richardson (2):
ixgbe: add "cold" attribute to setup/teardown fns
ixgbe: check mbuf refcnt when clearing RX/TX ring
drivers/net/ixgbe/ixgbe_rxtx.c | 62 ++++++++++++++++++++------------------ drivers/net/ixgbe/ixgbe_rxtx_vec.c | 24 ++++++++++----- 2 files changed, 48 insertions(+), 38 deletions(-)
Signature · 1 line
2.4.3