Re: [PATCH net-next 01/11] ip_tunnel: add drop reasons to the generic RX path
From: Anton Danilov
Date: Sat Sep 12 2026 - 23:34:09 EST
On Wed, 2 Sep 2026 18:47:18 -0700 Jakub Kicinski wrote:
> > + SKB_DROP_REASON_IP_TUNNEL_CFG_OPTS_MISMATCH,
>
> This name is way too long, maybe
>
> SKB_DROP_REASON_TNL_CFG_MISMATCH,
>
> or
>
> SKB_DROP_REASON_TNL_OPT_MISMATCH,
It was the longest name in the whole list, so fair enough.
Took TNL_OPT_MISMATCH in v2: what gets compared is the options the
packet carries against the ones the tunnel is configured for, not the
configuration as a whole.
I also renamed the two other reasons this series adds for the generic
paths, IP_TUNNEL_OLD_SEQ and IP_TUNNEL_ENCAP, to TNL_OLD_SEQ and
TNL_ENCAP, so that the three do not end up split over two prefixes.
The GRE specific ones keep the GRE_ prefix, next to the VXLAN_ ones.