mbox series

[net,v2,0/3] skb frag: kmap_atomic fixes

Message ID 20210109221834.3459768-1-willemdebruijn.kernel@gmail.com (mailing list archive)
Headers show
Series skb frag: kmap_atomic fixes | expand

Message

Willem de Bruijn Jan. 9, 2021, 10:18 p.m. UTC
From: Willem de Bruijn <willemb@google.com>

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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 12, 2021, 2:30 a.m. UTC | #1
Hello:

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

On Sat,  9 Jan 2021 17:18:31 -0500 you wrote:
> From: Willem de Bruijn <willemb@google.com>
> 
> 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
> 
> [...]

Here is the summary with links:
  - [net,v2,1/3] net: support kmap_local forced debugging in skb_frag_foreach
    https://git.kernel.org/netdev/net/c/29766bcffad0
  - [net,v2,2/3] net: compound page support in skb_seq_read
    https://git.kernel.org/netdev/net/c/97550f6fa592
  - [net,v2,3/3] esp: avoid unneeded kmap_atomic call
    https://git.kernel.org/netdev/net/c/9bd6b629c39e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html