Re: [PATCH] net: Relax the npages test against MAX_SKB_FRAGS

2020-08-18 Thread linmiaohe
Eric Dumazet wrote: >On Tue, Aug 18, 2020 at 4:58 AM Miaohe Lin wrote: >> >> The npages test against MAX_SKB_FRAGS can be relaxed if we succeed to >> allocate high order pages as the note in comment said. >> > > >We do not want this change. > >This interface is used by datagram providers, we do

Re: [PATCH] net: Relax the npages test against MAX_SKB_FRAGS

2020-08-18 Thread Eric Dumazet
On Tue, Aug 18, 2020 at 4:58 AM Miaohe Lin wrote: > > The npages test against MAX_SKB_FRAGS can be relaxed if we succeed to > allocate high order pages as the note in comment said. > > Signed-off-by: Miaohe Lin > --- > net/core/skbuff.c | 11 --- > 1 file changed, 4 insertions(+), 7

[PATCH] net: Relax the npages test against MAX_SKB_FRAGS

2020-08-18 Thread Miaohe Lin
The npages test against MAX_SKB_FRAGS can be relaxed if we succeed to allocate high order pages as the note in comment said. Signed-off-by: Miaohe Lin --- net/core/skbuff.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c