]> 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)
commit1f7233033ff3c8e0e4d4ea1de14739c60994e1b9
tree1ba29128caa07307632b6219c1692308ec89983a
parent2722036c60abe498feab4709a3c508254438d641
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