* [PATCH bluetooth-next 0/2] mac802154: ieee802154: typo and routing fixes
@ 2014-10-05 18:23 Alexander Aring
2014-10-05 18:23 ` [PATCH bluetooth-next 1/2] trivial: net/mac802154: Fix Kconfig typo Alexander Aring
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Alexander Aring @ 2014-10-05 18:23 UTC (permalink / raw)
To: linux-bluetooth; +Cc: marcel, linux-wpan, kernel, Alexander Aring
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(-)
--
2.1.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH bluetooth-next 1/2] trivial: net/mac802154: Fix Kconfig typo
2014-10-05 18:23 [PATCH bluetooth-next 0/2] mac802154: ieee802154: typo and routing fixes Alexander Aring
@ 2014-10-05 18:23 ` Alexander Aring
2014-10-05 18:23 ` [PATCH bluetooth-next 2/2] ieee802154: 6lowpan: Drop PACKET_OTHERHOST skbs in 6lowpan Alexander Aring
2014-10-05 19:07 ` [PATCH bluetooth-next 0/2] mac802154: ieee802154: typo and routing fixes Marcel Holtmann
2 siblings, 0 replies; 4+ messages in thread
From: Alexander Aring @ 2014-10-05 18:23 UTC (permalink / raw)
To: linux-bluetooth
Cc: marcel, linux-wpan, kernel, Julien Catalano, Alexander Aring
From: Julien Catalano <julien.catalano@gmail.com>
Signed-off-by: Julien Catalano <julien.catalano@gmail.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
net/mac802154/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac802154/Kconfig b/net/mac802154/Kconfig
index 1818a99..aa462b4 100644
--- a/net/mac802154/Kconfig
+++ b/net/mac802154/Kconfig
@@ -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.
--
2.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH bluetooth-next 2/2] ieee802154: 6lowpan: Drop PACKET_OTHERHOST skbs in 6lowpan
2014-10-05 18:23 [PATCH bluetooth-next 0/2] mac802154: ieee802154: typo and routing fixes Alexander Aring
2014-10-05 18:23 ` [PATCH bluetooth-next 1/2] trivial: net/mac802154: Fix Kconfig typo Alexander Aring
@ 2014-10-05 18:23 ` Alexander Aring
2014-10-05 19:07 ` [PATCH bluetooth-next 0/2] mac802154: ieee802154: typo and routing fixes Marcel Holtmann
2 siblings, 0 replies; 4+ messages in thread
From: Alexander Aring @ 2014-10-05 18:23 UTC (permalink / raw)
To: linux-bluetooth
Cc: marcel, linux-wpan, kernel, Simon Vincent, Alexander Aring
From: Simon Vincent <simon.vincent@xsilon.com>
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.
Signed-off-by: Simon Vincent <simon.vincent@xsilon.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
net/ieee802154/6lowpan_rtnl.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/ieee802154/6lowpan_rtnl.c b/net/ieee802154/6lowpan_rtnl.c
index 4413629..56252ee 100644
--- a/net/ieee802154/6lowpan_rtnl.c
+++ b/net/ieee802154/6lowpan_rtnl.c
@@ -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;
--
2.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH bluetooth-next 0/2] mac802154: ieee802154: typo and routing fixes
2014-10-05 18:23 [PATCH bluetooth-next 0/2] mac802154: ieee802154: typo and routing fixes Alexander Aring
2014-10-05 18:23 ` [PATCH bluetooth-next 1/2] trivial: net/mac802154: Fix Kconfig typo Alexander Aring
2014-10-05 18:23 ` [PATCH bluetooth-next 2/2] ieee802154: 6lowpan: Drop PACKET_OTHERHOST skbs in 6lowpan Alexander Aring
@ 2014-10-05 19:07 ` Marcel Holtmann
2 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2014-10-05 19:07 UTC (permalink / raw)
To: Alexander Aring; +Cc: BlueZ development, linux-wpan, kernel
Hi Alex,
> 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(-)
both patches have been applied to bluetooth-next tree.
Regards
Marcel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-10-05 19:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-05 18:23 [PATCH bluetooth-next 0/2] mac802154: ieee802154: typo and routing fixes Alexander Aring
2014-10-05 18:23 ` [PATCH bluetooth-next 1/2] trivial: net/mac802154: Fix Kconfig typo Alexander Aring
2014-10-05 18:23 ` [PATCH bluetooth-next 2/2] ieee802154: 6lowpan: Drop PACKET_OTHERHOST skbs in 6lowpan Alexander Aring
2014-10-05 19:07 ` [PATCH bluetooth-next 0/2] mac802154: ieee802154: typo and routing fixes Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).