[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210108171152.2961251-1-willemdebruijn.kernel@gmail.com>
Date: Fri, 8 Jan 2021 12:11:49 -0500
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org,
Willem de Bruijn <willemb@...gle.com>
Subject: [PATCH net 0/3] skb frag: kmap_atomic fixes
From: Willem de Bruijn <willemb@...gle.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
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(-)
--
2.30.0.284.gd98b1dd5eaa7-goog
Powered by blists - more mailing lists