Thread (7 messages) 7 messages, 4 authors, 2016-01-30

Re: [PATCH] net_sched: drr: check for NULL pointer in drr_dequeue

From: Cong Wang <hidden>
Date: 2016-01-29 18:19:17
Also in: netdev

On Wed, Jan 27, 2016 at 7:30 PM, Bernie Harris
[off-list ref] wrote:
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 <redacted>
Reviewed-by: Cong Wang <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help