summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorKiruthika Varadarajan <Kiruthika.Varadarajan@harman.com>2019-06-18 08:39:06 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-21 09:07:11 +0200
commitb60e30e56dc769f3aa7e1d79ccb4369079999e13 (patch)
tree003e20f7893ccf4609607c28d22fde1c343fd45d /include/linux/fpga/fpga-mgr.h
parentdb9bf5a845c13e39450c0289adac7260a8295d4d (diff)
usb: gadget: ether: Fix race between gether_disconnect and rx_submit
commit d29fcf7078bc8be2b6366cbd4418265b53c94fac upstream. On spin lock release in rx_submit, gether_disconnect get a chance to run, it makes port_usb NULL, rx_submit access NULL port USB, hence null pointer crash. Fixed by releasing the lock in rx_submit after port_usb is used. Fixes: 2b3d942c4878 ("usb ethernet gadget: split out network core") Cc: <stable@vger.kernel.org> Signed-off-by: Kiruthika Varadarajan <Kiruthika.Varadarajan@harman.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions