aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGianluca Anzolin <[email protected]>2013-07-29 17:08:08 +0200
committerGustavo Padovan <[email protected]>2013-08-21 16:47:05 +0200
commit396dc223dd36edd218650d042a07c5e61f022c5b (patch)
treeaba106ba73936f4c271f9f3b2d218a435f2cce5c /tools/perf/scripts/python
parentc7882cbd1151011ca8e6fb13530cd09eae1c39ee (diff)
Bluetooth: Take proper tty_struct references
In net/bluetooth/rfcomm/tty.c the struct tty_struct is used without taking references. This may lead to a use-after-free of the rfcomm tty. Fix this by taking references properly, using the tty_port_* helpers when possible. The raw assignments of dev->port.tty in rfcomm_tty_open/close are addressed in the later commit 'rfcomm: Implement .activate, .shutdown and .carrier_raised methods'. Signed-off-by: Gianluca Anzolin <[email protected]> Reviewed-by: Peter Hurley <[email protected]> Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions