Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C40CC433EF for ; Wed, 3 Nov 2021 18:54:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1D91860EB9 for ; Wed, 3 Nov 2021 18:54:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230198AbhKCS4g (ORCPT ); Wed, 3 Nov 2021 14:56:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbhKCS4f (ORCPT ); Wed, 3 Nov 2021 14:56:35 -0400 Received: from orbyte.nwl.cc (orbyte.nwl.cc [IPv6:2001:41d0:e:133a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 124C0C061714 for ; Wed, 3 Nov 2021 11:53:59 -0700 (PDT) Received: from localhost ([::1]:51434 helo=xic) by orbyte.nwl.cc with esmtp (Exim 4.94.2) (envelope-from ) id 1miLOX-0005nL-GB; Wed, 03 Nov 2021 19:53:57 +0100 From: Phil Sutter To: Florian Westphal Cc: netfilter-devel@vger.kernel.org Subject: [nf PATCH 0/2] Review port shadow selftest Date: Wed, 3 Nov 2021 19:53:41 +0100 Message-Id: <20211103185343.28421-1-phil@nwl.cc> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Trying the test on a local VM I noticed spurious errors from nc, complaining about an address being already in use. Patch 1 fixes this. Validating the notrack workaround led to the minor simplifications in patch 2. Phil Sutter (2): selftests: nft_nat: Improve port shadow test stability selftests: nft_nat: Simplify port shadow notrack test tools/testing/selftests/netfilter/nft_nat.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.33.0