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=elTaCNZmVCdSchVNf57/SF6dROre0AbDgaIUV9oKBPIiK160eTA7WTcgebxgL8NX10Dg fDPUtAXiaitspHRhvxy6OkIvJgm3WxUsRSgduQCfHFvZ6jVRuyqDu5TAwl0tzOJl4yxVq wUDZ7OGfhnO/DZdiMFRdf0snmRJHc+nPirEeLBRGK8t665gdMqN05F0nU9B/CKMAFrfTu rY70YMC8m57Ax+y0oSayBR2c2L6ZeLw2zYZCiSh/3/agXq3+NUrQ6RDeXJk1U/psAGBH5 Ok47GEGl6plgyRxE7Xr4Ity2hDr4GmwIL2MmyJz8CcOQyinFspv6sxtG6vWxFL00tMQ== 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=ZD3hv+nh3856OzDXknKwYPesLrZ+XIyVpSRR4EYfdQng6AonfvuARlmPcAlZQERQ2mFk zTOkZCyji1GHUsS+tK2ecuwsJ2f/rUdMhSti3JoC6r4msS93+cyp8O3UozIXizThxJsfd viAxdu93HxpEIi/gqnKhGXU4xtUK6ievNGX9akPtIoX/5tgvdxH54qdIELOeIutg8RDPt YqM5kEalaae9NipYZwisBlmWHPGaaitoD//zKdBWIKNAyAwLAPVWYZ/e2odFanmdf+4Hz 2+Fg75rK7RG/10yXAlfeh6w6giyBY4ywVi+DW/+IsrQ3gFIqx5rQHAXS2Ssb2un4KJQ== 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 C3132606A31A for ; Tue, 1 Dec 2026 02:25:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C3132606A31A 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-55d414ff1e9so196794841cf.3 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=NWsfpdQcabBGx/YKlBf3EiVJ34MjNHvWD6VkjXMCGDVZlHHHpiffiLq8pGKizcy9Qx mdTCMfX3ly5IuG9RAGisae+0M8Df3kSKmJ1gOIK6tbeMcC5bIswqk1/+JZ0TArPEE2zJ q35yCy01w2MOwXJd1p/jIKb6SNbQEVe0vkRVtQqRrfocp95t+ePeVVGDURNWHhh02zsc I+mOWpeDNzOM0gCutiPrdMGNQNzJmbF9HzuGM2w7jKPkqktVh0XoCXTy8z9YLAsDMks1 9i8yZM/Hl32UN7hTNK55urOmKuE+4nzG53nJn4DTR5n2kKPsrayXBV7fAENcZoGOIBO4 2czg== X-Forwarded-Encrypted: i=1; AL+hErHs3BgLNg6ZkO1mAFY9MFqJJFnhEdh6Z+Mnd1kfpIOaHKFkhNgcH1p1mOLjq9mV8lhT5jMUvxg=@vger.kernel.org X-Gm-Message-State: APuU4Z8yfm7Ej24lX5uh5dPNSxNncgXyYI6cNJ82nfUOug/8WxpFVUkw UERHwZLSriwKE7kqZpK549t1uu8CamDr89wIKLmcB1I/Ycq7Y1sukarHFsh2Na25l3Y8jkJKvWI uK4rAfLiF0A== 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: netdev@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.