Skip to content

ieee802154_mlme_ops oops removal and cleanup

Werner Almesberger netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2IEEE 802.15.4: remove get_bsn from "struct ieee802154_mlme_ops"drivers/net/ieee802154/fakehard.c include/net/ieee802154_netdev.h+0 -220 replies
2/2ieee802154/nl-mac.c: make some MLME operations optionalDocumentation/networking/ieee802154.txt include/net/ieee802154_netdev.h net/ieee802154/nl-mac.c+27 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] ieee802154_mlme_ops oops removal and cleanup

This fixes a kernel oops we get when some linux-zigbee user space tools try to invoke unimplemented operations.

The second of the two patches checks whether the respective functions are present and returne EOPNOTSUPP if they aren't. It also updates the documentation.

The first one removes the unused get_bsn function, which was a small obstacle for the other patch.

- Werner

Werner Almesberger (2):
IEEE 802.15.4: remove get_bsn from "struct ieee802154_mlme_ops" ieee802154/nl-mac.c: make some MLME operations optional

 Documentation/networking/ieee802154.txt |    5 +++--
 drivers/net/ieee802154/fakehard.c       |   21 ---------------------
 include/net/ieee802154_netdev.h         |    5 ++++-
 net/ieee802154/nl-mac.c                 |   25 ++++++++++++++++++++-----
 4 files changed, 27 insertions(+), 29 deletions(-)
Signature · 1 line
1.7.10.4