[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpVMWvhQAXcL+cqeV8Ziae=xDG-NMEfjESY2MaoFgx_zqw@mail.gmail.com>
Date: Mon, 22 Oct 2018 09:22:06 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Davide Caratti <dcaratti@...hat.com>
Cc: Jiri Pirko <jiri@...nulli.us>, Jamal Hadi Salim <jhs@...atatu.com>,
David Miller <davem@...emloft.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [PATCH net 1/4] net/sched: act_gact: disallow 'goto chain' on
fallback control action
On Sat, Oct 20, 2018 at 2:33 PM Davide Caratti <dcaratti@...hat.com> wrote:
>
> in the following command:
>
> # tc action add action <c1> random <rand_type> <c2> <rand_param>
>
> 'goto chain x' is allowed only for c1: setting it for c2 makes the kernel
> crash with NULL pointer dereference, since TC core doesn't initialize the
> chain handle.
>
> Signed-off-by: Davide Caratti <dcaratti@...hat.com>
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Powered by blists - more mailing lists