diff options
author | Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> | 2014-05-14 17:43:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-15 15:51:43 -0400 |
commit | d4b2816d67d6e07b2f27037f282d8db03a5829d7 (patch) | |
tree | abef3c2073f956fc3bc2fe77f368c9a467b56841 /net/atm/common.h | |
parent | 32edc40ae65cf84e1ab69f6f8316ce81559e115d (diff) |
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>
Diffstat (limited to 'net/atm/common.h')
0 files changed, 0 insertions, 0 deletions