Skip to content

pskb_extract() helper function.

Sowmini Varadhan netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2skbuff: Add pskb_extract() helper functioninclude/linux/skbuff.h net/core/skbuff.c+244 -00 replies
2/2RDS: TCP: Call pskb_extract() helper functionnet/rds/tcp_recv.c+3 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/2] pskb_extract() helper function.

This patchset follows up on the discussion in
https://www.mail-archive.com/[email protected]/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

Sowmini Varadhan (2):
Add pskb_extract() helper function
Call pskb_extract() helper function

 include/linux/skbuff.h |    2 +
 net/core/skbuff.c      |  242 ++++++++++++++++++++++++++++++++++++++++++++++++
 net/rds/tcp_recv.c     |   14 +--
 3 files changed, 247 insertions(+), 11 deletions(-)