From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EA2FC433E0 for ; Wed, 10 Jun 2020 21:43:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 22C65206F7 for ; Wed, 10 Jun 2020 21:43:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XRcQ9dbS" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726523AbgFJVng (ORCPT ); Wed, 10 Jun 2020 17:43:36 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:52402 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726134AbgFJVng (ORCPT ); Wed, 10 Jun 2020 17:43:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591825415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=EOMRCKTn4Cd3m8NbO22/XggcyOaKS9TbIVqVmA96gZE=; b=XRcQ9dbSfnP9YaGDPPoMVgCFKDmtiwfSZV8RC6pnxX+bjFbyEQ13rk2QEdgPMm4VJTSl9z hSKBKSD6WxUCQAYX/9AJqpXxWIZT7L9+/zz/LvlBtPmvYl3ZzBQVP8K2J+DVGXmTPZGjir USiVer/LkxToW2cJytKbdZLmKXY8wDI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-133-KDUT5N1ON3KIhFWozUgDOA-1; Wed, 10 Jun 2020 17:43:33 -0400 X-MC-Unique: KDUT5N1ON3KIhFWozUgDOA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 137CC8014D4; Wed, 10 Jun 2020 21:43:32 +0000 (UTC) Received: from new-host-5.redhat.com (unknown [10.40.194.215]) by smtp.corp.redhat.com (Postfix) with ESMTP id C7C5710013D0; Wed, 10 Jun 2020 21:43:30 +0000 (UTC) From: Davide Caratti To: Po Liu , Cong Wang Cc: "David S. Miller" , netdev@vger.kernel.org Subject: [PATCH net 0/2] two fixes for 'act_gate' control plane Date: Wed, 10 Jun 2020 23:42:45 +0200 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org - patch 1/2 attempts to fix the error path of tcf_gate_init() when users try to configure 'act_gate' rules with wrong parameters. - patch 2/2 is a follow-up of a recent fix for NULL dereference in the error path of tcf_gate_init() further work will introduce a tdc test for 'act_gate'. Davide Caratti (2): net/sched: act_gate: fix NULL dereference in tcf_gate_init() net/sched: act_gate: fix configuration of the periodic timer net/sched/act_gate.c | 130 ++++++++++++++++++++++++------------------- 1 file changed, 72 insertions(+), 58 deletions(-) -- 2.26.2