Re: [next-queue PATCH v3 2/4] net/sched: Fix accessing invalid dev_queue

2017-10-04 Thread Jesus Sanchez-Palencia
Hi, On 10/03/2017 08:47 PM, Eric Dumazet wrote: > On Tue, 2017-10-03 at 16:44 -0700, Vinicius Costa Gomes wrote: >> From: Jesus Sanchez-Palencia >> >> In qdisc_alloc() the dev_queue pointer was used without any checks being >> performed. If qdisc_create() gets

Re: [next-queue PATCH v3 2/4] net/sched: Fix accessing invalid dev_queue

2017-10-03 Thread Eric Dumazet
On Tue, 2017-10-03 at 16:44 -0700, Vinicius Costa Gomes wrote: > From: Jesus Sanchez-Palencia > > In qdisc_alloc() the dev_queue pointer was used without any checks being > performed. If qdisc_create() gets a null dev_queue pointer, it just > passes it along to

[next-queue PATCH v3 2/4] net/sched: Fix accessing invalid dev_queue

2017-10-03 Thread Vinicius Costa Gomes
From: Jesus Sanchez-Palencia In qdisc_alloc() the dev_queue pointer was used without any checks being performed. If qdisc_create() gets a null dev_queue pointer, it just passes it along to qdisc_alloc(), leading to a crash. That happens if a root qdisc