Rework parsing of HCI events
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest15 patches 1 replyIn review
- v115 patches 10 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | skbuff: introduce skb_pull_datainclude/ net/ | +25 | 0 replies | |
| 2/15 | Bluetooth: HCI: Use skb_pull_data to parse BR/EDR eventsinclude/ net/ | +217 | 0 replies | |
| 3/15 | Bluetooth: HCI: Use skb_pull_data to parse Command Complete eventnet/ | +663 | 0 replies | |
| 4/15 | Bluetooth: HCI: Use skb_pull_data to parse Number of Complete Packets eventinclude/ net/ | +12 | 0 replies | |
| 5/15 | Bluetooth: HCI: Use skb_pull_data to parse Inquiry Result eventinclude/ net/ | +19 | 0 replies | |
| 6/15 | Bluetooth: HCI: Use skb_pull_data to parse Inquiry Result with RSSI eventinclude/ net/ | +33 | 0 replies | |
| 7/15 | Bluetooth: HCI: Use skb_pull_data to parse Extended Inquiry Result eventinclude/ net/ | +20 | 0 replies | |
| 8/15 | Bluetooth: HCI: Use skb_pull_data to parse LE Metaeventsnet/ | +64 | 0 replies | |
| 9/15 | Bluetooth: HCI: Use skb_pull_data to parse LE Advertising Report eventinclude/ net/ | +30 | 0 replies | |
| 10/15 | Bluetooth: HCI: Use skb_pull_data to parse LE Ext Advertising Report eventinclude/ net/ | +36 | 0 replies | |
| 11/15 | Bluetooth: HCI: Use skb_pull_data to parse LE Direct Advertising Report eventinclude/ net/ | +25 | 0 replies | |
| 12/15 | Bluetooth: hci_event: Use of a function table to handle HCI eventsnet/ net/ net/ | +392 | 0 replies | |
| 13/15 | Bluetooth: hci_event: Use of a function table to handle LE subeventsnet/ | +122 | 0 replies | |
| 14/15 | Bluetooth: hci_event: Use of a function table to handle Command Completenet/ | +752 | 0 replies | |
| 15/15 | Bluetooth: hci_event: Use of a function table to handle Command Statusnet/ | +59 | 0 replies |
Reviews trailers per patch
1 of 15 patches has a Reviewed-by or Acked-by.
| Patch | Jakub Kicinski |
|---|---|
| 1/15 | A-b |
| 2/15 | |
| 3/15 | |
| 4/15 | |
| 5/15 | |
| 6/15 | |
| 7/15 | |
| 8/15 | |
| 9/15 | |
| 10/15 | |
| 11/15 | |
| 12/15 | |
| 13/15 | |
| 14/15 | |
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/15] Rework parsing of HCI events
From: Luiz Augusto von Dentz <[email protected]>
This reworks the parsing of HCI events using skb_pull_data to check event length, in addition to that it does introduce function tables to handle events, LE subevents, Command Complete and Command Status which simplify the callback by adding a common code that uses skb_pull_data when parsing such events.
v2: Fix declaration of hci_event_func.
Luiz Augusto von Dentz (15):
skbuff: introduce skb_pull_data
Bluetooth: HCI: Use skb_pull_data to parse BR/EDR events
Bluetooth: HCI: Use skb_pull_data to parse Command Complete event
Bluetooth: HCI: Use skb_pull_data to parse Number of Complete Packets
event
Bluetooth: HCI: Use skb_pull_data to parse Inquiry Result event
Bluetooth: HCI: Use skb_pull_data to parse Inquiry Result with RSSI
event
Bluetooth: HCI: Use skb_pull_data to parse Extended Inquiry Result
event
Bluetooth: HCI: Use skb_pull_data to parse LE Metaevents
Bluetooth: HCI: Use skb_pull_data to parse LE Advertising Report event
Bluetooth: HCI: Use skb_pull_data to parse LE Ext Advertising Report
event
Bluetooth: HCI: Use skb_pull_data to parse LE Direct Advertising
Report event
Bluetooth: hci_event: Use of a function table to handle HCI events
Bluetooth: hci_event: Use of a function table to handle LE subevents
Bluetooth: hci_event: Use of a function table to handle Command
Complete
Bluetooth: hci_event: Use of a function table to handle Command Status
include/linux/skbuff.h | 2 + include/net/bluetooth/hci.h | 59 +- net/bluetooth/hci_event.c | 3031 +++++++++++++++++++---------------- net/bluetooth/msft.c | 2 +- net/bluetooth/msft.h | 2 +- net/core/skbuff.c | 23 + 6 files changed, 1689 insertions(+), 1430 deletions(-)
Signature · 1 line
2.33.1