Skip to content

ieee802154: 6lowpan: fixes for multiple interfaces

Alexander Aring linux-wpan 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/2ieee802154: 6lowpan: fix packet layer registrationnet/ieee802154/6lowpan/core.c+17 -50 replies
2/2ieee802154: 6lowpan: fix non-lowpan wpan interfacesnet/ieee802154/6lowpan/rx.c+4 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH bluetooth-next 0/2] ieee802154: 6lowpan: fixes for multiple interfaces

Hi,

while working on "ieee802154: 6lowpan: cleanup and rework dispatch evaluation", I detected issues which was introduced by removal the multiple interfaces feature _per_ wpan interface. These are:

- multiple registration for the packet handler -> fixed by open_count
- check on if the wpan interface has a lowpan interface.

I also detect the missing dev_put while lowpan netdev_registation and take some patches like moving the ARPHRD check earlier, we need to check on this before evaluating the ieee802154_ptr.

- Alex

Alexander Aring (2):
ieee802154: 6lowpan: fix packet layer registration
ieee802154: 6lowpan: fix non-lowpan wpan interfaces

 net/ieee802154/6lowpan/core.c | 22 +++++++++++++++++-----
 net/ieee802154/6lowpan/rx.c   |  7 ++++---
 2 files changed, 21 insertions(+), 8 deletions(-)
Signature · 1 line
2.5.0