aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorStephen Warren <[email protected]>2017-08-16 14:30:10 -0600
committerFelipe Balbi <[email protected]>2017-08-18 12:28:50 +0300
commitdaa35bd95634a2a2d72d1049c93576a02711cb1a (patch)
tree04d8f8adbdd1f976d3d42250b12fe4eeff1deebf /tools/perf/scripts/python/stackcollapse.py
parentafd7fd81f22bf90474216515dbd6088f9bd70343 (diff)
usb: gadget: serial: fix oops when data rx'd after close
When the gadget serial device has no associated TTY, do not pass any received data into the TTY layer for processing; simply drop it instead. This prevents the TTY layer from calling back into the gadget serial driver, which will then crash in e.g. gs_write_room() due to lack of gadget serial device to TTY association (i.e. a NULL pointer dereference). Signed-off-by: Stephen Warren <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions