mac802154: remove pib/mib locks and locking fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 10 repliesIn review
- v14 patches 12 repliesSuperseded
changes since v2 from the cover letter
- switch patch 3 and 4.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | mac802154: fix hold rtnl while ioctlnet/ | +3 | 9 replies | |
| 2/4 | mac802154: remove pib lockinclude/ net/ net/ +2 more | +5 | 0 replies | |
| 3/4 | mac802154: use atomic ops for sequence incrementationinclude/ include/ net/ +4 more | +8 | 0 replies | |
| 4/4 | mac802154: remove mib lockinclude/ net/ net/ +7 more | +18 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Stefan Schmidt | Alexander Aring |
|---|---|---|
| 1/4 | R-b | A-b |
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 bluetooth-next 0/4] mac802154: remove pib/mib locks and locking fixes
Hi,
this patch series contains patches for remove pib and mib lock. We have now a other locking strategie inside this stack which requires at the moment the rtnl lock only. The first patch will hold the rtnl lock which is required to access the mib attributes while calling socket ioctl. The last patch will use atomic operations for incremet the dsn value for dataframes, currently it could be that this value is the same in two contiguous frames which could be occur a wrong ack frame handling in ARET mode.
- Alex
changes since v2:
- switch patch 3 and 4.
Alexander Aring (4):
mac802154: fix hold rtnl while ioctl
mac802154: remove pib lock
mac802154: use atomic ops for sequence incrementation
mac802154: remove mib lock
include/net/cfg802154.h | 6 ++-- include/net/ieee802154_netdev.h | 10 ------- net/ieee802154/6lowpan/core.c | 28 ------------------ net/ieee802154/6lowpan/tx.c | 2 +- net/ieee802154/core.c | 2 -- net/ieee802154/nl-mac.c | 14 ++++++--- net/ieee802154/nl-phy.c | 6 ++-- net/ieee802154/socket.c | 12 ++++---- net/mac802154/ieee802154_i.h | 7 ----- net/mac802154/iface.c | 29 ++++++------------- net/mac802154/mac_cmd.c | 7 ++--- net/mac802154/mib.c | 63 ++--------------------------------------- net/mac802154/rx.c | 5 ---- 13 files changed, 34 insertions(+), 157 deletions(-)
Signature · 1 line
2.4.1