Hi all,
This series fixes various issues. Tree of them was pointed out by Sashiko
during code review, one was found during development of those fixes.
The previous versions of the series can be found:
v2: https://lore.kernel.org/netdev/2026…@linux.intel.com/
v1: https://lore.kernel.org/netdev/2026…@linux.intel.com/
Changes from v2:
- Release partially completed skb also on the error path.
- New patch fixing race condition between tbnet_tear_down() and
tbnet_connected_work().
Changes from v1:
- Prevent unintended refilling the Rx ring if poll triggers during
tear down.
- Keep polling if we fail to allocate new Rx descriptors to avoid
permanent stop.
- New patch that releases partially completed skb.
Mika Westerberg (Intel) (4):
net: thunderbolt: Fix race condition when the link is torn down
net: thunderbolt: Stop queueing Rx buffers if allocation fails
net: thunderbolt: Prevent Tx descriptor leak in tbnet_start_xmit()
net: thunderbolt: Free partially completed skb when the link is torn down
drivers/net/thunderbolt/main.c | 108 ++++++++++++++++++++++++---------
1 file changed, 79 insertions(+), 29 deletions(-)
--
2.50.1