diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-10-10 12:32:35 +0200 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-11-27 23:59:56 +0000 |
| commit | b5964aac51e0c286a50e68225e0dfcf11fb554cb (patch) | |
| tree | 3df4ec836bd6fe4260c880ebf26b8e3c8e51aa3b /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | 93d7a7ed07342f5e3da2d250cfd67f899d0b5318 (diff) | |
netfilter: flowtable: consolidate xmit path
Use dev_queue_xmit() for the XMIT_NEIGH case. Store the interface index
of the real device behind the vlan/pppoe device, this introduces an
extra lookup for the real device in the xmit path because rt->dst.dev
provides the vlan/pppoe device.
XMIT_NEIGH now looks more similar to XMIT_DIRECT but the check for stale
dst and the neighbour lookup still remain in place which is convenient
to deal with network topology changes.
Note that nft_flow_route() needs to relax the check for _XMIT_NEIGH so
the existing basic xfrm offload (which only works in one direction) does
not break.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
