mac802154: ieee802154: typo and routing fixes
Subsystems (3)
Alexander Aring
maintainercover mac802154: ieee802154: typo and routing fixes
Hi,
this patches series contains a tirivial typo in mac802154 Kconfig entry and drop PACKET_OTHERHOST skb's before parsing 6lowpan header.
- Alex
Julien Catalano (1):
trivial: net/mac802154: Fix Kconfig typo
Simon Vincent (1):
ieee802154: 6lowpan: Drop PACKET_OTHERHOST skbs in 6lowpan
net/ieee802154/6lowpan_rtnl.c | 3 +++ net/mac802154/Kconfig | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.1.2
Alexander Aring
maintainerPATCH 1/2 trivial: net/mac802154: Fix Kconfig typo
From: Julien Catalano <[email protected]>
--- net/mac802154/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac802154/Kconfig +1 -1
@@ -16,5 +16,5 @@ config MAC802154 been tested yet! If you plan to use HardMAC IEEE 802.15.4 devices, you can - say N here. Alternatievly you can say M to compile it as + say N here. Alternatively you can say M to compile it as module.
Signature · 1 line
2.1.2
Alexander Aring
maintainerPATCH 2/2 ieee802154: 6lowpan: Drop PACKET_OTHERHOST skbs in 6lowpan
In reply to Alexander AringFrom: Simon Vincent <[email protected]>
There is no point processing pkts which are PACKET_OTHERHOST in 6lowpan as they are discarded as soon as they reach the ipv6 layer. Therefore we should drop them in the 6lowpan layer.
--- net/ieee802154/6lowpan_rtnl.c | 3 +++ 1 file changed, 3 insertions(+)
net/ieee802154/6lowpan_rtnl.c +3 -0
@@ -515,6 +515,9 @@ static int lowpan_rcv(struct sk_buff *skb, struct net_device *dev,if (!netif_running (dev)) goto drop_skb; +if (skb->pkt_type ==PACKET_OTHERHOST ) + goto drop_skb; +if (dev->type !=ARPHRD_IEEE802154 ) goto drop_skb;
Signature · 1 line
2.1.2
Marcel Holtmann
maintainerHi Alex,
Quoted 8 lines
this patches series contains a tirivial typo in mac802154
Kconfigentry and dropPACKET_OTHERHOSTskb's before parsing 6lowpan header.- Alex
Julien Catalano (1):
trivial: net/mac802154: FixKconfigtypo
Quoted 6 lines
Simon Vincent (1):
ieee802154: 6lowpan: DropPACKET_OTHERHOSTskbs in 6lowpan
net/ieee802154/6lowpan_rtnl.c| 3 +++net/mac802154/Kconfig| 2 +-2 files changed, 4 insertions(+), 1 deletion(-)
both patches have been applied to bluetooth-next tree.
Regards
Marcel