Thread (3 messages) 3 messages, 3 authors, 2017-08-18

Re: [patch net] net: sched: fix p_filter_chain check in tcf_chain_flush

flat view

From: Cong Wang <hidden>
Date: 2017-08-18 17:00:12

On Fri, Aug 18, 2017 at 1:10 AM, Jiri Pirko [off-list ref] wrote:
From: Jiri Pirko <redacted>

The dereference before check is wrong and leads to an oops when
p_filter_chain is NULL. The check needs to be done on the pointer to
prevent NULL dereference.

Fixes: f93e1cdcf42c ("net/sched: fix filter flushing")
Signed-off-by: Jiri Pirko <redacted>
Acked-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