Skip to contentSkip to conversation

net: Relax the npages test against MAX_SKB_FRAGS

PATCH linmiaohe 1 participant 1 message Aug 19, 2020

Subsystems (2)
lore
Share & tools
lore

linmiaohe

author
#0 lore raw
Quoted 7 lines · Eric Dumazet
Quoted 4 lines · 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.

Quoted 7 lines

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. :)