Bluetooth: 6LoWPAN lifecycle fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Bluetooth: L2CAP: ignore close requests for deleted channelsnet/ | +4 | 2 replies | |
| 2/5 | workqueue: add support for module-owned workinclude/ kernel/ | +58 | 2 replies | |
| 3/5 | Bluetooth: L2CAP: drain channel timers on connection teardowninclude/ net/ | +52 | 1 reply | |
| 4/5 | Bluetooth: 6lowpan: handle channel setup failure and callback lifetimeinclude/ net/ net/ +2 more | +148 | 0 replies | |
| 5/5 | Bluetooth: 6lowpan: quiesce peers before channel deletionnet/ | +33 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Bluetooth: 6LoWPAN lifecycle fixes
6LoWPAN shares L2CAP channels between connection setup, published peers and packet transmission, while teardown also schedules asynchronous cleanup. These paths currently disagree on when channel ownership, peer visibility and module lifetime end. The resulting failures range from leaked or unusable connections and peers surviving disable to transmit use-after-free and execution of unloaded module code.
This series establishes a consistent ownership and teardown order across those paths. Shared L2CAP and workqueue changes provide the lifetime guarantees needed by the following 6LoWPAN changes, which make failed setup recoverable and stop users of a peer before releasing its resources. Keeping the changes together avoids fixing one lifetime while shortening another.
The timer support adds one ordered workqueue per L2CAP connection and serializes that connection's channel timers.