diff options
author | David Hauweele <david@hauweele.net> | 2013-08-16 21:59:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-20 13:23:11 -0700 |
commit | 31afe1f73e46221650acfcb411e6949f4a8f7571 (patch) | |
tree | e07e41026f3919a77bb3662cc5a88ffabf110525 /net/ieee802154/Makefile | |
parent | 84ce1ddfefc3d5a8af5ede6fe16546c143117616 (diff) | |
download | lwn-31afe1f73e46221650acfcb411e6949f4a8f7571.tar.gz lwn-31afe1f73e46221650acfcb411e6949f4a8f7571.zip |
6lowpan: Fix fragmentation with link-local compressed addresses
When a new 6lowpan fragment is received, a skbuff is allocated for
the reassembled packet. However when a 6lowpan packet compresses
link-local addresses based on link-layer addresses, the processing
function relies on the skb mac control block to find the related
link-layer address.
This patch copies the control block from the first fragment into
the newly allocated skb to keep a trace of the link-layer addresses
in case of a link-local compressed address.
Edit: small changes on comment issue
Signed-off-by: David Hauweele <david@hauweele.net>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reviewed-by: Werner Almesberger <werner@almesberger.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154/Makefile')
0 files changed, 0 insertions, 0 deletions