]> git.baikalelectronics.ru Git - kernel.git/commit
skb: add helpers to allocate ext independently from sk_buff
authorPaolo Abeni <pabeni@redhat.com>
Thu, 9 Jan 2020 15:59:24 +0000 (07:59 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jan 2020 02:41:42 +0000 (18:41 -0800)
commit1618a032f7adf9cc691a006716b37603de1cf772
tree92e71bf4a33294a1d0dc22f9f9529a105f6a381a
parent937b63bedea8f3d17e8cd192433f5760529dd9fe
skb: add helpers to allocate ext independently from sk_buff

Currently we can allocate the extension only after the skb,
this change allows the user to do the opposite, will simplify
allocation failure handling from MPTCP.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c