Bluetooth: RFCOMM: Protect sockets during teardown and TTY handoff
Status from this message: This series was applied to bluetooth/bluetooth-next.git (master)
Get series with b4
b4 am pm-bluetooth-objects-candidate-0218-v8-da37c8a6b33c9d2d8efc-0@gmail.comVersions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Bluetooth: RFCOMM: Hold the listener across child unlinknet/ | +12 | 1 reply | Applied |
| 2/2 | Bluetooth: RFCOMM: Close the socket before transferring its DLCnet/ | +8 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Bluetooth: RFCOMM: Protect sockets during teardown and TTY handoff
Socket notification and TTY handoff can outlive the object which made the socket's borrowed pointers valid. Keep the listener alive across child unlink and notification, and finish old socket users before the TTY replaces its DLC callbacks.
Cen Zhang (2):
Bluetooth: RFCOMM: Hold the listener across child unlink
Bluetooth: RFCOMM: Close the socket before transferring its DLC
net/bluetooth/rfcomm/sock.c | 17 ++++++++++++----- net/bluetooth/rfcomm/tty.c | 20 ++++++++------------ 2 files changed, 20 insertions(+), 17 deletions(-)
---