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: David Miller <davem@davemloft.net>
Date: 2017-08-18 17:19:42

From: Jiri Pirko <jiri@resnulli.us>
Date: Fri, 18 Aug 2017 10:10:43 +0200
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>
Applied, thanks Jiri.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help