]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'pskb_extract'
authorDavid S. Miller <davem@davemloft.net>
Mon, 25 Apr 2016 20:54:15 +0000 (16:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Apr 2016 20:54:15 +0000 (16:54 -0400)
commitce1d757d2975b8923e1f1ea5e5f82e46c0f3d8da
treecb62fa6ec10edbc446d9f6ac37a07e9bafdd61b9
parentee703e4718294ab1dc5156e4857dcf216cdf52ce
parentfe5f343970685a5fb6935393d8c8faa191481920
Merge branch 'pskb_extract'

Sowmini Varadhan says:

====================
pskb_extract() helper function.

This patchset follows up on the discussion in
 https://www.mail-archive.com/netdev@vger.kernel.org/msg105090.html

For RDS-TCP, we have to deal with the full gamut of
nonlinear sk_buffs, including all the frag_list variants.
Also, the parent skb has to remain unchanged, while the clone
is queued for Rx on the PF_RDS socket.

Patch 1 of this patchset adds a pskb_extract() function that
does all this without the redundant memcpy's in pskb_expand_head()
and __pskb_pull_tail().

v2: Marcelo Leitner review comments
====================

Signed-off-by: David S. Miller <davem@davemloft.net>