Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1779381imm; Tue, 22 May 2018 09:11:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZphNxRBL5sgMoK8site5VJiAop5jig1LeOEKtcgVQRZVk2DzXWBzJzLYazmtfQNahoO1jIf X-Received: by 2002:a63:731b:: with SMTP id o27-v6mr10599984pgc.132.1527005461486; Tue, 22 May 2018 09:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527005461; cv=none; d=google.com; s=arc-20160816; b=jVuOXq3VboIGrqPIBTXKWCKc2kCNQvyw2nk29sS9OSCAwlAQRPkRq8oloxkTcIODpj ADTnuY/gr8fw1VpLoR7mVUjSY4TjQtxmyrvy5IvoPoNfLbl2BI7JTAsmjlagljN3kJS9 g7z9Vjdry4gaAFD4X6XoPgTUbuePq7qIHGrwz7Wsjl9rkbfFcY3q6mm3D3FUqpxousqY q3MOwIXD7H3j8d/1UnzsyZof9cm/Bq9FTNwznnJyA2k0gmWKuCde0FVZm4mxcC8VsJFP aXiXP1bFbw8q1hUcH9FOXlwPuEVLUXmILlqFZfF4mCYTgbObR4fJjjvsAKNN5Wnqds5f IOiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=cHVZ7gCS0L29mTa0XdHUxnaKfm+Nz4KGTRViKEudYMU=; b=YgypgbYQDg1C10JaRaqAgC5wTYH3CBOUS1tvid7m/Z9Y3H562KAuJW+9J/sppmyYx8 PVL1IOQLrAlJAMuDGPfDK26lnLlCrcD656h630Z1Jtw2zlOqZ7zADuo9XIv/gZ8pj2V0 9Nf7g8U/xn8YqYJokClG/X5DFOyfOJ2hxK6BPxGBERG58UQ5PXgMyrPZNWqcVR/MqB05 ICnzsRfUt7ZLKw86UTCVpuiwxi73OekmmgngV8L1P2rVXoGJV+agylpMt8rRktMxznHn XVCVFPCmojeT9IJ9sOh0iMm4ybEniKvgwR1Q38Caxxf2oaS3D1lvNJTK9eLS0KwwQNXH 574w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n34-v6si16442164pld.91.2018.05.22.09.10.46; Tue, 22 May 2018 09:11:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751512AbeEVQKf (ORCPT + 99 others); Tue, 22 May 2018 12:10:35 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:35917 "EHLO mailout.easymail.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196AbeEVQKd (ORCPT ); Tue, 22 May 2018 12:10:33 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id A200AC04C8; Tue, 22 May 2018 16:10:32 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ra407i8KVew0; Tue, 22 May 2018 16:10:32 +0000 (UTC) Received: from [192.168.1.87] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id E02F3BFFFF; Tue, 22 May 2018 16:10:20 +0000 (UTC) Subject: Re: [PATCH] tc-testing: flush gact actions on test teardown To: David Miller Cc: vladbu@mellanox.com, linux-kselftest@vger.kernel.org, lucasb@mojatatu.com, jhs@mojatatu.com, mrv@mojatatu.com, linux-kernel@vger.kernel.org, Shuah Khan References: <1526660482-10424-1-git-send-email-vladbu@mellanox.com> <11f03b6a-a8c4-e64c-7e2d-fb8218bc6320@kernel.org> <20180522.114930.689064251143958449.davem@davemloft.net> From: Shuah Khan Message-ID: <6ea08cc0-709c-09cd-03d7-cd23bc757299@kernel.org> Date: Tue, 22 May 2018 10:10:19 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180522.114930.689064251143958449.davem@davemloft.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/22/2018 09:49 AM, David Miller wrote: > From: Shuah Khan > Date: Tue, 22 May 2018 09:43:28 -0600 > >> On 05/18/2018 10:21 AM, Vlad Buslov wrote: >>> Test 6fb4 creates one mirred and one pipe action, but only flushes mirred >>> on teardown. Leaking pipe action causes failures in other tests. >>> >>> Add additional teardown command to also flush gact actions. >>> >>> Signed-off-by: Vlad Buslov >>> --- >>> tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json | 3 ++- >>> 1 file changed, 2 insertions(+), 1 deletion(-) >>> >>> diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json b/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json >>> index 443c9b3..acb24f7 100644 >>> --- a/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json >>> +++ b/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json >>> @@ -44,7 +44,8 @@ >>> "matchPattern": "action order [0-9]*: mirred \\(Egress Redirect to device lo\\).*index 2 ref", >>> "matchCount": "1", >>> "teardown": [ >>> - "$TC actions flush action mirred" >>> + "$TC actions flush action mirred", >>> + "$TC actions flush action gact" >>> ] >>> }, >>> { >>> >> >> I can get this into 4.18-rc1 unless there is a reason for this to go >> through net tree. > > Why wouldn't a networking testing bug fix go through my tree? > I usually take the selftest patches unless there is dependency on another tree. I am fine with it going through net tree Acked-by: Shuah Khan (Samsung OSG) thanks, -- Shuah