netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG]drivers: net: usb: usbnet.c: dangling pointer in function usbnet_start_xmit
@ 2021-08-01  8:02 nil Yi
  0 siblings, 0 replies; only message in thread
From: nil Yi @ 2021-08-01  8:02 UTC (permalink / raw)
  To: oneukum, netdev

Hi,
I found there leaves a dangling pointer urb in function
usbnet_start_xmit in v5.14-rc3,
1386:  entry->urb = urb;
1451:  usb_put_urb(urb);
1454:  goto deferred;

1492:   deferred:
1494:         return NETDEV_TX_OK;

left a pointer in entry->urb,  I'm not sure whether it cound be used
in usbnet_bh

Any feedback would be appreciated, thanks :)


Best wishes,
Nil Yi

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-01  8:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-01  8:02 [BUG]drivers: net: usb: usbnet.c: dangling pointer in function usbnet_start_xmit nil Yi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).