From: Patrick McHardy Date: Wed, 17 Apr 2013 06:46:58 +0000 (+0000) Subject: net: add function to allocate sk_buff head without data area X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~88^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ebd0ac5ff01ebf412e1bd3c33620ef7ffc5d866;p=pandora-kernel.git net: add function to allocate sk_buff head without data area Add a function to allocate a sk_buff head without any data. This will be used by memory mapped netlink to attach data from the mmaped area to the skb. Additionally change skb_release_all() to check whether the skb has a data area to allow the skb destructor to clear the data pointer in case only a head has been allocated. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed