Re: [PATCH net-next] net: cleanup and document skb fclone layout
From: David Miller <davem@davemloft.net>
Date: 2014-09-29 18:59:09
From: David Miller <davem@davemloft.net>
Date: 2014-09-29 18:59:09
From: Eric Dumazet <redacted> Date: Mon, 29 Sep 2014 10:23:36 -0700
On Sat, 2014-09-27 at 16:25 -0700, Eric Dumazet wrote:quoted
From: Eric Dumazet <edumazet@google.com> 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. Signed-off-by: Eric Dumazet <edumazet@google.com> --- include/linux/skbuff.h | 25 ++++++++++++++++++++++ net/core/skbuff.c | 44 +++++++++++++++++++-------------------- net/ipv4/tcp_output.c | 5 ---- net/xfrm/xfrm_policy.c | 4 --- 4 files changed, 49 insertions(+), 29 deletions(-)I'll rebase this patch and send a v2.
Thanks.