From: Eric Dumazet
Date: Mon, 06 Jul 2015 17:13:26 +0200
> From: Eric Dumazet
>
> User space can crash kernel with
>
> ip link add ifb10 numtxqueues 10 type ifb
>
> We must replace a BUG_ON() by proper test and return -EINVAL for
> crazy values.
>
> Fixes: 60877a32bce00 ("net: allow larg
From: Eric Dumazet
User space can crash kernel with
ip link add ifb10 numtxqueues 10 type ifb
We must replace a BUG_ON() by proper test and return -EINVAL for
crazy values.
Fixes: 60877a32bce00 ("net: allow large number of tx queues")
Signed-off-by: Eric Dumazet
---
net/core/dev.c |3