[PATCH net] rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096

2018-10-02 Thread Eric Dumazet
We have an impressive number of syzkaller bugs that are linked to the fact that syzbot was able to create a networking device with millions of TX (or RX) queues. Let's limit the number of RX/TX queues to 4096, this really should cover all known cases. A separate patch will add various cond_resche

Re: [PATCH net] rtnl: limit IFLA_NUM_TX_QUEUES and IFLA_NUM_RX_QUEUES to 4096

2018-10-02 Thread David Miller
From: Eric Dumazet Date: Tue, 2 Oct 2018 15:47:35 -0700 > We have an impressive number of syzkaller bugs that are linked > to the fact that syzbot was able to create a networking device > with millions of TX (or RX) queues. > > Let's limit the number of RX/TX queues to 4096, this really should