Skip to content

skb frag: kmap_atomic fixes

Willem de Bruijn netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied 3/3
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- in patch 2, increase frag_off size from u16 to u32

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: support kmap_local forced debugging in skb_frag_foreachinclude/linux/skbuff.h+1 -10 repliesApplied
2/3net: compound page support in skb_seq_readinclude/linux/skbuff.h net/core/skbuff.c+24 -50 repliesApplied
3/3esp: avoid unneeded kmap_atomic callnet/ipv4/esp4.c net/ipv6/esp6.c+2 -121 replyApplied

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchSteven Rostedt (VMware)Steffen Klassert
1/3T-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net v2 0/3] skb frag: kmap_atomic fixes

From: Willem de Bruijn <[email protected]>

skb frags may be backed by highmem and/or compound pages. Various code calls kmap_atomic to safely access highmem pages. But this needs additional care for compound pages. Fix a few issues:

patch 1 expect kmap mappings with CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP patch 2 fixes kmap_atomic + compound page support in skb_seq_read patch 3 fixes kmap_atomic + compound page support in esp

changes
v1->v2
- in patch 2, increase frag_off size from u16 to u32

Willem de Bruijn (3):
net: support kmap_local forced debugging in skb_frag_foreach
net: compound page support in skb_seq_read
esp: avoid unneeded kmap_atomic call

 include/linux/skbuff.h |  3 ++-
 net/core/skbuff.c      | 28 +++++++++++++++++++++++-----
 net/ipv4/esp4.c        |  7 +------
 net/ipv6/esp6.c        |  7 +------
 4 files changed, 27 insertions(+), 18 deletions(-)
Signature · 1 line
2.30.0.284.gd98b1dd5eaa7-goog