[PATCH 0/2] l2cap_chan init and delete fixes for ERTM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I came across a repeatable crash when testing the new ERTM state
machine, and traced it down to some unexpected control flow in
l2cap_chan_del.  This also led me to discover a possible, but
unlikely, leak in some recently added l2cap_ertm_init code.

Mat Martineau (2):
  Bluetooth: Fix early return from l2cap_chan_del
  Bluetooth: Free allocated ERTM SREJ list if init fails

 include/net/bluetooth/l2cap.h |    1 +
 net/bluetooth/l2cap_core.c    |   10 +++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

-- 
1.7.10

--
Mat Martineau
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux