[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpUrehFh3cDVQ2trttLWyh6FU6U9ZWd7BzbZwmmR32PFPw@mail.gmail.com>
Date: Fri, 11 May 2018 10:56:39 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
Jamal Hadi Salim <jhs@...atatu.com>, mlxsw@...lanox.com
Subject: Re: [patch net] net: sched: fix error path in tcf_proto_create() when
modules are not configured
On Fri, May 11, 2018 at 8:45 AM, Jiri Pirko <jiri@...nulli.us> wrote:
> 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>
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Powered by blists - more mailing lists