[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160129.172701.536181510037467824.davem@davemloft.net>
Date: Fri, 29 Jan 2016 17:27:01 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: bernie.harris@...iedtelesis.co.nz
Cc: netdev@...r.kernel.org, jhs@...atatu.com, stable@...r.kernel.org
Subject: Re: [PATCH] net_sched: drr: check for NULL pointer in drr_dequeue
From: Bernie Harris <bernie.harris@...iedtelesis.co.nz>
Date: Thu, 28 Jan 2016 16:30:51 +1300
> There are cases where qdisc_dequeue_peeked can return NULL, and the result
> is dereferenced later on in the function.
>
> Similarly to the other qdisc dequeue functions, check whether the skb
> pointer is NULL and if it is, goto out.
>
> Signed-off-by: Bernie Harris <bernie.harris@...iedtelesis.co.nz>
Applied, thanks.
Powered by blists - more mailing lists