From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.160.200 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796091918; b=A2+/+A4UKQblT9I0C+8lUMRZ+WVI/m6TJvvD5/CdzPubophfEr0Ghg6YkU/jr7E1tZe7 l/dtbzCF4v95iNvCdRtEFlSmr6QpdXeE3QKx5cKkM8LKTCZk1nhX7RD4RAvGyCR4Oymfq 2/PW4nulp6VtaGwklzkMqM3Ose3XryuE1F4o0XMMZRi54PbdpndyfTj9kGKHKu9gJwkgo fsO+E6CG+zNfnLIh5t19Z3a1eEDH8jjTxJQVfEnDvLy3EeANAJ4gnS20JbeZPhGwSMyoZ ck5EvlwkRVMXypPNxVBes0Si7vgMikxcSO7TYgdfVpZFg40BZz/3vS8FAv0UMDP0cVg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796091918; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:Message-ID:Subject:From:To:Cc:Content-Type; bh=+W37OQ/4IG1Gx8eqI2UhCZ3KlyPYByz7H9dzF3Q1Xog=; b=uXhH1uRjyOYPTf2hfzJj0ibGUojgptRWtPkvvVPKAvVAUMMzqcHT8CFeDGO6eADjgjJ0 BYi7Z69IjunzMPkusXcHALDYFs8CQIo8JZAkKaofexvqGdx+7m6Hty+PnafeJhFtEKwaA HuU3z27E9AEjbxrbEVKtprLQq+ydt1bpgx4ASpZRLwB/c1JfNxdDtl8ndwKob3lfVmiPu C+NT+zlXY4La3LSvbiXHle3hotJp8wjqe4vcG+rpHhy+/qD7JtX4jdWNIQYYGgwHlAxkf YhixZdhXdJLo0UegAPIQw/FeGEUWw49rJVnveCK9aG5SFj2oYHbf5L2J5sscG9sLZqQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--willemb.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=I3GQ6ank; arc=none smtp.remote-ip=209.85.160.200 Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C31CF606A320 for ; Tue, 1 Dec 2026 02:25:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C31CF606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--willemb.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=I3GQ6ank Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-55df0f1283dso26046281cf.0 for ; Mon, 30 Nov 2026 18:25:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796091917; x=1796696717; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=+W37OQ/4IG1Gx8eqI2UhCZ3KlyPYByz7H9dzF3Q1Xog=; b=I3GQ6ankIUo1NiwVD7GZ/9ucXTh+PIM3ugdzPz3vJF5Ox3FTWNeMZNLURBssUXAGRP svCPbx1q1NgHhq4wsvSlwX84ehpNk3gyAW4hNgFATkPvO+HiNKJ+4IoFyxIjhfTloPjQ cs8EENGNOerA/ptRMAEMxrjHtwGxwZrKaAUNqFVeNSLEGQ2AlbmydpntAkpEzyI/Ru1r z6JqV9szAlk23pG42fAh3RcQbtBn7pYYBdGC4UCkAiSyqGQk6VsZPT2hKd5t61s9KvZZ J5uiDYCm+J7vAMJOSZPx349M/MUh5Rt7fZhfuhpsIvTf40Oi3VzsJgF8h7+p5J/a47aO a3qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796091917; x=1796696717; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+W37OQ/4IG1Gx8eqI2UhCZ3KlyPYByz7H9dzF3Q1Xog=; b=UuqWAucWzoviutL1SnD97uUyh6a7UoyR2QKGtxr2mYa/0p1tgRVtkwgFm9Y1/HDL4e wISDS2u0VJigm18BZr36NytPnBOG1bxkECdEQkyLCMPia546RJj8Jzm7YdeyHxY+cY55 /sjNAqdISNsksP/XTNW5pwoytlz1068XZPOgex6QXadqlWe2CAPV/Nm4QYULXlWirhjo YYArjgCYVYcs4HHTwLQoHFiwBl0Uz+YqqRWCXcfjyBm0yBw3KAdfM4TdPSqQC/xLzEf5 zMl99fgfzdyDMcm2lRdSouHLCVwG1IRu7y83QcpstfUIU1uvK1H72sItVB+jwPjvakQ6 Kqsg== X-Forwarded-Encrypted: i=1; AL+hErG33T5TOLRWHKSkn8xdCMlMZ9v0MQ7OWdWxWPHy0QTG4E+yEA5V2IQ4nK/DFU9h3GK54KQXJLhTXNnr797WtIo=@vger.kernel.org X-Gm-Message-State: APuU4Z9Z9oiPqtBLL2byd6E1/yXrlrKd4rWyPoqK+C9SO+I9OeSJ72F7 zqjYAGkF8XsZbTUN/jPX+6CVi8vlfw3HPWRy5mi79XSYy0CaPWaOG/X3xV5QnQA90z7YkKskK1+ G6UUDQ+PSKg== X-Received: from qvxv14.prod.google.com ([2002:ad4:48ce:0:b0:921:3f89:909]) (user=willemb job=prod-delivery.src-stubby-dispatcher) by 2002:a05:622a:5a17:b0:537:a19d:40e0 with SMTP id d75a77b69052e-55d76a50bd5mr595691581cf.35.1796091916388; Mon, 30 Nov 2026 18:25:16 -0800 (PST) Date: Mon, 30 Nov 2026 21:25:15 -0500 In-Reply-To: X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261124163358.755345-2-theodorlarionov@gmail.com> <179567851468.3135.1445286719198754408@kernel.org> Message-ID: Subject: Re: [PATCH net v3 1/2] netfilter: nf_dup: do not duplicate packets from br_netfilter From: willemb@google.com To: Florian Westphal , netdev-bot+sashiko@kernel.org Cc: theodorlarionov@gmail.com, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, pablo@netfilter.org, phil@nwl.cc, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Florian Westphal wrote: > netdev-bot+sashiko@kernel.org wrote: > > [Severity: Medium] > > Does this turn off TEE and nft dup completely for any packet that has > > passed through br_netfilter? > > > > The check runs on the original skb before pskb_copy(). With > > bridge-nf-call-iptables or bridge-nf-call-ip6tables enabled, a rule like > > this one no longer sends any copy: > > > > iptables -t mangle -A PREROUTING -m physdev --physdev-in X \ > > -j TEE --gateway G > AI is right BUT I think this 'breakage' is good. > We should absolutely start to break these use cases, little by little. But should we do this in patches with Cc: stable? > I intend to remove nfqueue support for br_netfilter, for instance. > I hope we can remove the entire br_netfilter module by summer 2027.