From: Alexander Aring Date: Fri, 16 Aug 2013 19:59:56 +0000 (+0200) Subject: 6lowpan: introduce lowpan_fetch_skb function X-Git-Tag: v3.12-rc1~132^2~267^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4666669fc3b83f0d01b08c6b17432563f2eedcba;p=pandora-kernel.git 6lowpan: introduce lowpan_fetch_skb function This patch adds a helper function to parse the ipv6 header to a 6lowpan header in stream. This function checks first if we can pull data with a specific length from a skb. If this seems to be okay, we copy skb data to a destination pointer and run skb_pull. Signed-off-by: Alexander Aring Reviewed-by: Werner Almesberger Signed-off-by: David S. Miller --- Reading git-diff-tree failed