[PATCH net 0/4] net: ntb_netdev: Fix TX completion and error handling
From: Koichiro Den <hidden>
Date: 2026-08-17 05:35:27
Also in:
lkml
Hi, This small series fixes several TX buffer ownership and queue handling bugs in ntb_netdev and ntb_transport. Patch 4 first appeared in my "NTB: Add direct TX/RX using PCI endpoint DMA" series. Sashiko later reported the same pre-existing leak while reviewing another series, so I moved the fix here. See: https://lore.kernel.org/r/20260815032932.151F11F000E9@smtp.kernel.org/ The ntb_transport fixes affect buffer ownership and queue handling in ntb_netdev, the only in-tree ntb_transport_client implementation, so the patches need to go in together. I am targeting the net tree for the series. Dave and other NTB maintainers, I would appreciate your review of the ntb_transport-specific changes. Best regards, Koichiro Koichiro Den (4): NTB: ntb_transport: Recycle TX entries before client callbacks net: ntb_netdev: Fix TX busy and drop handling NTB: ntb_transport: Fail TX enqueue when the QP link is down NTB: ntb_transport: Reject oversized TX buffers drivers/net/ntb_netdev.c | 27 ++++++++++++++++++-------- drivers/ntb/ntb_transport.c | 38 ++++++++++++++++++------------------- 2 files changed, 37 insertions(+), 28 deletions(-) base-commit: 24ef02f934eeb48830cff6b739abc3c62b1d107b -- 2.51.0