Re: [PATCH net v2 3/3] esp: avoid unneeded kmap_atomic call

2021-01-11 Thread Steffen Klassert
On Sat, Jan 09, 2021 at 05:18:34PM -0500, Willem de Bruijn wrote: > From: Willem de Bruijn > > esp(6)_output_head uses skb_page_frag_refill to allocate a buffer for > the esp trailer. > > It accesses the page with kmap_atomic to handle highmem. But > skb_page_frag_refill can return compound page

[PATCH net v2 3/3] esp: avoid unneeded kmap_atomic call

2021-01-09 Thread Willem de Bruijn
From: Willem de Bruijn esp(6)_output_head uses skb_page_frag_refill to allocate a buffer for the esp trailer. It accesses the page with kmap_atomic to handle highmem. But skb_page_frag_refill can return compound pages, of which kmap_atomic only maps the first underlying page. skb_page_frag_refi