Re: [PATCH v4] net: ipv6: seg6: report lwtunnel setup errors via extack
From: Jakub Kicinski
Date: Mon Oct 05 2026 - 17:19:02 EST
On Mon, 5 Oct 2026 16:06:34 +0200 Gabriel Goller wrote:
> seg6_build_state() rejected invalid configurations with a generic -EINVAL,
> so "ip route add ... encap seg6 ..." always reported "Invalid argument".
>
> Attach an extack message to each of them. The checks themselves and their
> return values are unchanged.
Why not use _MISS were appropriate?
https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261005140637.644840-1-g.goller@xxxxxxxxxxx
--
pw-bot: cr