]> git.baikalelectronics.ru Git - kernel.git/commit
net: cleanup and document skb fclone layout
authorEric Dumazet <edumazet@google.com>
Mon, 29 Sep 2014 20:29:15 +0000 (13:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2014 20:34:25 +0000 (16:34 -0400)
commit3c35f9993c83892236d4e0961f86e4945b0a1586
tree1ba29128caa07307632b6219c1692308ec89983a
parent170c5fdd296af8643dde6df7c27b7252d5f9525e
net: cleanup and document skb fclone layout

Lets use a proper structure to clearly document and implement
skb fast clones.

Then, we might experiment more easily alternative layouts.

This patch adds a new skb_fclone_busy() helper, used by tcp and xfrm,
to stop leaking of implementation details.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c
net/ipv4/tcp_output.c
net/xfrm/xfrm_policy.c