[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250204195030.46765-1-ericwouds@gmail.com>
Date: Tue, 4 Feb 2025 20:50:27 +0100
From: Eric Woudstra <ericwouds@...il.com>
To: Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>,
Vladimir Oltean <olteanv@...il.com>,
Nikolay Aleksandrov <razor@...ckwall.org>,
"Frank Wunderlich" <frank-w@...lic-files.de>,
Daniel Golle <daniel@...rotopia.org>
Cc: netfilter-devel@...r.kernel.org,
coreteam@...filter.org,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Eric Woudstra <ericwouds@...il.com>
Subject: [RFC PATCH v1 net-next 0/3] flow offload teardown when layer 2 roaming
In case of a bridge in the forward-fastpath or bridge-fastpath the fdb is
used to create the tuple. In case of roaming at layer 2 level, for example
802.11r, the destination device is changed in the fdb. The destination
device of a direct transmitting tuple is no longer valid and traffic is
send to the wrong destination. Also the hardware offloaded fastpath is not
valid anymore.
This flowentry needs to be torn down asap. Also make sure that the flow
entry is not being used, when marked for teardown.
This patch-set depends on patch-set: "PATCH v5 bridge-fastpath and related
improvements" only for applying the patch correctly, but it is not a
functional requirement.
Eric Woudstra (3):
netfilter: flow: Add bridge_vid member
netfilter: nf_flow_table_core: teardown direct xmit when destination
changed
netfilter: nf_flow_table_ip: don't follow fastpath when marked
teardown
include/net/netfilter/nf_flow_table.h | 2 +
net/netfilter/nf_flow_table_core.c | 66 +++++++++++++++++++++++++++
net/netfilter/nf_flow_table_ip.c | 6 +++
net/netfilter/nft_flow_offload.c | 4 ++
4 files changed, 78 insertions(+)
--
2.47.1
Powered by blists - more mailing lists