diff options
| author | 2026-10-09 17:20:13 +0200 | |
|---|---|---|
| committer | 2026-10-15 12:29:16 +0200 | |
| commit | a39a3a32785ee2804ed8516b0cb1585b88c2ba51 (patch) | |
| tree | 595510e745a132245ded07507d608e44672d481d /scripts/Makefile.thinlto | |
| parent | hinic3: use skb_put_padto() (diff) | |
net: ipv6: seg6: report lwtunnel setup errors via extack
seg6_build_state() rejected invalid configurations with a generic -EINVAL,
so "ip route add ... encap seg6 ..." sometimes reported "Invalid argument".
Add extack messages to the checks that lacked one, and use
NL_REQ_ATTR_CHECK() for the missing SRH attribute so that userspace can
tell which attribute is missing. The checks themselves and their return
values are unchanged.
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
Reviewed-by: Hangbin Liu <liuhangbin@kylinos.cn>
Reviewed-by: Andrea Mayer <andrea.mayer@uniroma2.it>
Link: https://patch.msgid.link/20261009152015.462383-1-g.goller@proxmox.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
