]> git.hungrycats.org Git - linux/commit
netfilter: flowtable: bail out if forward path cannot be discovered
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Jun 2026 23:36:48 +0000 (01:36 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 14 Jun 2026 10:51:55 +0000 (12:51 +0200)
commit871df5007edaacaf2eac58a2871af6044a444ad4
treecfdb9ac418ead2606d6e47b92190d08ca0a36cfc
parente3cd138e560764299965fba5ec5240281a7faca2
netfilter: flowtable: bail out if forward path cannot be discovered

If forward path discovery fails for any reason or netdevice is not
registered for this flowtable, then bail out to classic forwarding path
rather than providing incomplete forwarding path.

Update the existing forward path parser functions to report an error
so the flow_offload expressions gives up on setting up the flowtable
entry.

Link: https://sashiko.dev/#/patchset/20260607094954.48892-15-pablo%40netfilter.org?part=14
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_path.c