From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [PATCH net 1/4] net/sched: act_gact: disallow 'goto chain' on fallback control action Date: Mon, 22 Oct 2018 09:22:06 -0700 Message-ID: References: <02f04ade8a0087781778d02fbb645b1d72f9d777.1540070509.git.dcaratti@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Jiri Pirko , Jamal Hadi Salim , David Miller , Linux Kernel Network Developers To: Davide Caratti Return-path: Received: from mail-pl1-f194.google.com ([209.85.214.194]:43804 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727554AbeJWAl2 (ORCPT ); Mon, 22 Oct 2018 20:41:28 -0400 Received: by mail-pl1-f194.google.com with SMTP id 30-v6so19294292plb.10 for ; Mon, 22 Oct 2018 09:22:18 -0700 (PDT) In-Reply-To: <02f04ade8a0087781778d02fbb645b1d72f9d777.1540070509.git.dcaratti@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: On Sat, Oct 20, 2018 at 2:33 PM Davide Caratti wrote: > > in the following command: > > # tc action add action random > > '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 Acked-by: Cong Wang