diff options
author | 2012-01-30 18:26:29 -0200 | |
---|---|---|
committer | 2012-02-15 13:09:26 +0200 | |
commit | 24d2b8c0ac5c8ec41c26ed432238b0e027184882 (patch) | |
tree | d0331d56b1f94b3614eaade10ca5d1ca0ba8633c /net/unix/af_unix.c | |
parent | Bluetooth: Remove usage of __cancel_delayed_work() (diff) | |
download | wireguard-linux-24d2b8c0ac5c8ec41c26ed432238b0e027184882.tar.xz wireguard-linux-24d2b8c0ac5c8ec41c26ed432238b0e027184882.zip |
Bluetooth: Fix possible use after free in delete path
We need to use the _sync() version for cancelling the info and security
timer in the L2CAP connection delete path. Otherwise the delayed work
handler might run after the connection object is freed.
Signed-off-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions