Re: [PATCH 1/4] net/skbuff: don't waste memory reserves
From: David Miller
Date: Thu Apr 18 2019 - 14:56:43 EST
From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Thu, 18 Apr 2019 11:55:16 -0700
> AFAIK, drivers allocate skbs way before a frame is actually received,
> (at RX ring buffer initialization or refill)
>
> So sk_memalloc_socks() might be false at that time, but true later.
This is exactly what I was going to say too.