Re: [PATCH net 2/3] net: compound page support in skb_seq_read

2021-01-09 Thread Willem de Bruijn
On Fri, Jan 8, 2021 at 12:11 PM Willem de Bruijn wrote: > > From: Willem de Bruijn > > skb_seq_read iterates over an skb, returning pointer and length of > the next data range with each call. > > It relies on kmap_atomic to access highmem pages when needed. > > An skb frag may be backed by a comp

Re: [PATCH net 2/3] net: compound page support in skb_seq_read

2021-01-08 Thread Willem de Bruijn
On Fri, Jan 8, 2021 at 12:11 PM Willem de Bruijn wrote: > > From: Willem de Bruijn > > skb_seq_read iterates over an skb, returning pointer and length of > the next data range with each call. > > It relies on kmap_atomic to access highmem pages when needed. > > An skb frag may be backed by a comp

[PATCH net 2/3] net: compound page support in skb_seq_read

2021-01-08 Thread Willem de Bruijn
From: Willem de Bruijn skb_seq_read iterates over an skb, returning pointer and length of the next data range with each call. It relies on kmap_atomic to access highmem pages when needed. An skb frag may be backed by a compound page, but kmap_atomic maps only a single page. There are not enough