Re: [PATCH] net: usb: rtl8150: free skb on usb_submit_urb() failure in xmit

From: Jakub Kicinski

Date: Thu Apr 23 2026 - 14:45:26 EST


On Tue, 21 Apr 2026 19:10:25 +0800 Morduan Zang wrote:
> When rtl8150_start_xmit() fails to submit the tx URB, the URB is never
> handed to the USB core and write_bulk_callback() will not run. The
> driver returns NETDEV_TX_OK, which tells the networking stack that the
> skb has been consumed, but nothing actually frees the skb on this
> error path:

Does not apply, please rebase on net/main and repost.
--
pw-bot: cr