linux/net/ieee802154
Phoebe Buckheister d4b2816d67 6lowpan: fix fragmentation
Currently, 6lowpan creates one 802.15.4 MAC header for the original
packet the device was given by upper layers and reuses this header for
all fragments, if fragmentation is required. This also reuses frame
sequence numbers, which must not happen. 6lowpan also has issues with
fragmentation in the presence of security headers, since those may imply
the presence of trailing fields that are not accounted for by the
fragmentation code right now.

Fix both of these issues by properly allocating fragment skbs with
headromm and tailroom as specified by the underlying device, create one
header for each skb instead of reusing the original header, let the
underlying device do the rest.

Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-15 15:51:43 -04:00
..
6lowpan_iphc.c 6lowpan: move 6lowpan header to include/net 2014-03-06 17:21:38 -05:00
6lowpan_rtnl.c 6lowpan: fix fragmentation 2014-05-15 15:51:43 -04:00
af802154.h mac802154: use header operations to create/parse headers 2014-03-14 22:15:26 -04:00
af_ieee802154.c af_ieee802154: fix check on broadcast address 2014-03-20 17:19:45 -04:00
dgram.c ieee802154: change _cb handling slightly 2014-05-15 15:51:42 -04:00
header_ops.c ieee802154: add definitions for link-layer security and header functions 2014-05-15 15:51:42 -04:00
ieee802154.h mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00
Kconfig ieee802154: fix whitespace issues in Kconfig 2014-03-04 20:12:44 -05:00
Makefile ieee802154: add header structs with endiannes and operations 2014-03-14 22:15:26 -04:00
netlink.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00
nl-mac.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00
nl-phy.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00
nl_policy.c ieee802154: add netlink APIs for smartMAC configuration 2014-02-17 16:42:39 -05:00
raw.c ieee802154: properly unshare skbs in ieee802154 *_rcv functions 2014-03-18 15:59:25 -04:00
reassembly.c 6lowpan: make lowpan_cb static 2014-04-20 18:18:55 -04:00
reassembly.h ieee802154: use ieee802154_addr instead of *_sa variants 2014-03-14 22:15:26 -04:00
wpan-class.c mac802154: make csma/cca parameters per-wpan 2014-04-01 16:25:51 -04:00