Re: [PATCH] net/packet: simply allocations in alloc_one_pg_vec_page

From: David Miller
Date: Sat May 16 2020 - 16:40:21 EST


From: Shakeel Butt <shakeelb@xxxxxxxxxx>
Date: Fri, 15 May 2020 19:17:36 -0700

> and thus there is no need to have any fallback after vzalloc.

This statement is false.

The virtual mapping allocation or the page table allocations can fail.

A fallback is therefore indeed necessary.