From: David Hauweele Date: Fri, 16 Aug 2013 19:59:55 +0000 (+0200) Subject: 6lowpan: Fix fragmentation with link-local compressed addresses X-Git-Tag: v3.12-rc1~132^2~267^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31afe1f73e46221650acfcb411e6949f4a8f7571;p=pandora-kernel.git 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 Signed-off-by: Alexander Aring Reviewed-by: Werner Almesberger Signed-off-by: David S. Miller --- Reading git-diff-tree failed