]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: Revert "net: add function to allocate sk_buff head without data area"
authorFlorian Westphal <fw@strlen.de>
Mon, 17 Jul 2017 16:56:54 +0000 (18:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2017 17:34:21 +0000 (10:34 -0700)
commit06dc75ab06943fcc126a951a0680980ad5cb75c6
tree8b089c5ec362f72d53125ee5c2145606ab141a6a
parent5c3c6081b246b05ee5bb2fc1759a7c0c6a0b7c3b
net: Revert "net: add function to allocate sk_buff head without data area"

It was added for netlink mmap tx, there are no callers in the tree.
The commit also added a check for skb->head != NULL in kfree_skb path,
remove that too -- all skbs ought to have skb->head set.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c