diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index fd16fb836df28..03f7e1614173a 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -4194,7 +4194,7 @@ static struct pgv *alloc_pg_vec(struct tpacket_req *req, int order) struct pgv *pg_vec; int i; - pg_vec = kcalloc(block_nr, sizeof(struct pgv), GFP_KERNEL); + pg_vec = kcalloc(block_nr, sizeof(struct pgv), GFP_KERNEL | __GFP_NOWARN); if (unlikely(!pg_vec)) goto out;