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

From: linmiaohe
Date: Tue Aug 18 2020 - 21:48:37 EST


Eric Dumazet <edumazet@xxxxxxxxxx> wrote:
>On Tue, Aug 18, 2020 at 4:58 AM Miaohe Lin <linmiaohe@xxxxxxxxxx> 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 not want to claim they can safely use skb allocations over 64KB.
>
>Returning -EMSGSIZE should not depend on availability of high-order pages.
>
>The comment was a hint, but we need first a valid user before considering expanding the interface.

I see. Many thanks for reply and explaination. :)