On Mon, 2016-03-14 at 21:16 +0200, achiad shochat wrote: > I really do not see why the new scheme is more DOSable than the common > scheme of pre-allocating SKB using napi_alloc_skb().
Because sizeof(skb_shared_info) is big enough that if you allocate 128 bytes, you end up using 512 bytes or even more. In practice it is good enough.