summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2026-07-25 11:33:45 +0200
committerPaolo Abeni <pabeni@redhat.com>2026-07-30 13:11:09 +0200
commitd25c5beea9a076f67f785a85631ffb4769691d4d (patch)
treeeca158ce7893b488acd210e9be0d8dcd637cded7 /include/uapi
parent7d34154b646b0bd50a6c2d8a2e49a6529328a94f (diff)
ipip: reject unsupported configurations in fill_forward_path
The ipip fill_forward_path callback currently does not check for configurations that cannot be offloaded to hardware: - Collect metadata (flow-based) tunnels have no fixed destination and rely on per-packet tunnel metadata, so the forward path cannot be pre-computed. - TOS inheritance (parms.iph.tos & 0x1) requires copying the outer TOS from the inner packet at encapsulation time, which is not known during forward path resolution. Return -EOPNOTSUPP for both cases to fall back to the software forwarding path. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20260725-ipip-fill-forward-path-fix-v1-1-bc69fd3127d5@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions