On 4/27/2026 4:31 AM, Shaiq Wani wrote:
Bare L2TPv2 flow rules (no inner PPP) fail on deletion because
ice_fdir_is_tunnel_profile() forces a 2-segment profile with an empty
inner segment the NIC cannot remove. Reset tunnel_type to NONE when
no inner fields are present so a single-segment profile is used.

Also normalize L2TPv2 flags_version in the SW hash key to only the
CTRL/LEN/VER bits, preventing delete lookup mismatches when S/O/P
bits differ from the create path.

Fixes: 733640dae75e ("net/ice: support L2TPv2 flow pattern matching")
Signed-off-by: Shaiq Wani <[email protected]>
---

Needs rebase on account of memcpy changes, but easy enough to apply manually.

Acked-by: Anatoly Burakov <[email protected]>

--
Thanks,
Anatoly

Reply via email to