]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: 6lowpan: remove packet type to host
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Sep 2015 12:21:30 +0000 (14:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:04 +0000 (13:20 +0200)
commit417722e683875f4847ecf62ebc6bd508e4d23449
treeec42b9e9f60ce6e0e80d69256f1ca92e382645e0
parent32453a47f2ac3fd57da1ad662a39a36c3bdfe255
ieee802154: 6lowpan: remove packet type to host

This patch remove the packet_type to host and leave the mac pkt_type.
By running 'grep -r "pkt_type" net/ipv6', the IPv6 stack will evaluate
this value for PACKET_BROADCAST. Instead of overwriting this value we
will leave the mac value there which is broadcasts if the mac frame was
a broadcast frame.

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan/rx.c