Re: [PATCH net] net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec

2019-03-20 Thread David Miller
From: Christoph Paasch Date: Mon, 18 Mar 2019 23:14:52 -0700 > Since commit fc62814d690c ("net/packet: fix 4gb buffer limit due to overflow > check") > one can now allocate packet ring buffers >= UINT_MAX. However, syzkaller > found that that triggers a warning: ... > We should allocate with __

[PATCH net] net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec

2019-03-18 Thread Christoph Paasch
Since commit fc62814d690c ("net/packet: fix 4gb buffer limit due to overflow check") one can now allocate packet ring buffers >= UINT_MAX. However, syzkaller found that that triggers a warning: [ 21.10] WARNING: CPU: 2 PID: 2075 at mm/page_alloc.c:4584 __alloc_pages_nod0 [ 21.101490] Mod