[BUG]drivers: net: usb: usbnet.c: dangling pointer in function usbnet_start_xmit

From: nil Yi <hidden>
Date: 2021-08-01 08:02:36

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help