[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180511.163520.299986603968780053.davem@davemloft.net>
Date: Fri, 11 May 2018 16:35:20 -0400 (EDT)
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 error path in tcf_proto_create()
when modules are not configured
From: Jiri Pirko <jiri@...nulli.us>
Date: Fri, 11 May 2018 17:45:32 +0200
> From: Jiri Pirko <jiri@...lanox.com>
>
> In case modules are not configured, error out when tp->ops is null
> and prevent later null pointer dereference.
>
> Fixes: 33a48927c193 ("sched: push TC filter protocol creation into a separate function")
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists