Skip to content

net: thunderbolt: Various fixes

Mika Westerberg netdev 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: thunderbolt: Stop queueing Rx buffers if allocation failsdrivers/net/thunderbolt/main.c+62 -220 replies
2/3net: thunderbolt: Prevent Tx descriptor leak in tbnet_start_xmit()drivers/net/thunderbolt/main.c+9 -20 replies
3/3net: thunderbolt: Free partially completed skb when the link is torn downdrivers/net/thunderbolt/main.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] net: thunderbolt: Various fixes

Hi all,

This series fixes various issues. Two of them was pointed out by Sashiko during code review, one was found during development of those fixes.

The previous version of the series can be found:

https://lore.kernel.org/netdev/[email protected]/

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 (3):
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 | 98 +++++++++++++++++++++++++---------
 1 file changed, 74 insertions(+), 24 deletions(-)
Signature · 1 line
2.50.1