From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: Re: [PATCH net 2/4] net/sched: act_police: disallow 'goto chain' on fallback control action Date: Mon, 22 Oct 2018 09:23:01 -0700 Message-ID: References: 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-pf1-f194.google.com ([209.85.210.194]:43202 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727877AbeJWAmX (ORCPT ); Mon, 22 Oct 2018 20:42:23 -0400 Received: by mail-pf1-f194.google.com with SMTP id q1-v6so2844905pfh.10 for ; Mon, 22 Oct 2018 09:23:12 -0700 (PDT) In-Reply-To: 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 police rate burst conform-exceed / > > '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