Thread (5 messages) 5 messages, 3 authors, 9d ago

Re: [PATCH v4] net: ipv6: seg6: report lwtunnel setup errors via extack

flat view

From: Gabriel Goller <hidden>
Date: 2026-10-08 11:32:59
Also in: lkml

On 05.10.2026 14:18, Jakub Kicinski wrote:
On Mon,  5 Oct 2026 16:06:34 +0200 Gabriel Goller wrote:
quoted
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@proxmox.com
Makes sense.
This will make the output less user-friendly than before, but I think that's fine.

E.g.:

	Missing required attribute type 1
	RTNETLINK answers: Invalid argument
-- 
pw-bot: cr
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help