aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2020-06-15 14:27:19 +0300
committerFelipe Balbi <[email protected]>2020-06-24 09:45:58 +0300
commite55f3c37cb8d31c7e301f46396b2ac6a19eb3a7c (patch)
tree9b376b1495d70365e0c5035589a2299adad2c235 /net/unix/sysctl_net_unix.c
parentd410912ef63714fad404f34baa72e5ceb0466e62 (diff)
usb: gadget: udc: Potential Oops in error handling code
If this is in "transceiver" mode the the ->qwork isn't required and is a NULL pointer. This can lead to a NULL dereference when we call destroy_workqueue(udc->qwork). Fixes: 3517c31a8ece ("usb: gadget: mv_udc: use devm_xxx for probe") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions