[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170818.101941.1615431063902854741.davem@davemloft.net>
Date: Fri, 18 Aug 2017 10:19:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
mlxsw@...lanox.com
Subject: Re: [patch net] net: sched: fix p_filter_chain check in
tcf_chain_flush
From: Jiri Pirko <jiri@...nulli.us>
Date: Fri, 18 Aug 2017 10:10:43 +0200
> From: Jiri Pirko <jiri@...lanox.com>
>
> 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 <jiri@...lanox.com>
Applied, thanks Jiri.
Powered by blists - more mailing lists