aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKiruthika Varadarajan <Kiruthika.Varadarajan@harman.com>2019-06-18 08:39:06 +0000
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-06-18 11:58:30 +0300
commitd29fcf7078bc8be2b6366cbd4418265b53c94fac (patch)
tree8242c4236f5b77198281012cc447fe09bba1518b /tools/perf/scripts/python/exported-sql-viewer.py
parente70b3f5da00119e057b7faa557753fee7f786f17 (diff)
usb: gadget: ether: Fix race between gether_disconnect and rx_submit
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions