Article View: linux.kernel.netdev
Article #628Re: [PATCH v4] net: ipv6: seg6: report lwtunnel setup errors via extack
From: Gabriel Goller
Date: Thu, 08 Oct 2026 11:32
Date: Thu, 08 Oct 2026 11:32
25 lines
5674 bytes
5674 bytes
On 05.10.2026 14:18, Jakub Kicinski wrote: > 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@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 > >
Technical Details
Message-ID:
<asd_O9_pH_TE2apO@luna.proxmox.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342917-linux-kernel-netdev=dewy.ruReferences:
<20261005140637.644840-1-g.goller@proxmox.com> <20261005141850.278fdefb@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342917-linux-kernel-netdev=dewy.ru From: g.goller@proxmox.com (Gabriel Goller) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v4] net: ipv6: seg6: report lwtunnel setup errors via extack Date: Thu, 8 Oct 2026 13:32:50 +0200 Organization: Usenet Network Message-ID: <asd_O9_pH_TE2apO@luna.proxmox.com> References: <20261005140637.644840-1-g.goller@proxmox.com> <20261005141850.278fdefb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="867108"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:qrwQ35RYJ2jZmLKVyjsVv2b/4Pw= sha256:gpQSPw8aEMJdfnnkuNpwyru7mlaadaSnkVtusNwDlBA= sha1:0LBNP3g9bJhVTl3hEfl5VwqyGs0= sha256:gbc42NB0gdZMS3TofugFeeJUWe9nuECSOpuVbZ6Yh3c= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 1AB8910F3B0; Thu, 8 Oct 2026 14:33:14 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N_iuR0zZ7l4Q; Thu, 8 Oct 2026 14:33:09 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-342917-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=proxmox.com X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 2E9C910F32E; Thu, 8 Oct 2026 14:33:04 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sto.lore.kernel.org (Postfix) with ESMTP id 01E8160782E; Thu, 8 Oct 2026 11:33:04 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEF5B42BC43; Thu, 8 Oct 2026 11:33:02 +0000 (UTC) X-Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D73244562AC; Thu, 8 Oct 2026 11:32:59 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.136.29.106 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791459182; cv=none; b=e/C80okXNDk7Z6u4ijIsbVdp0sM+8UaCWXSwg+U3oOmTOqddXxxIy3sQtEnk5570FqwTPcvguuo/C2/x1YA1+1H1lTHKuYwkQDuqwzx48PuTV0udbtvLXFr2/10nzMW4qd7oxqRBMsIP1bPx3MaVowEDISxAj1V6tSfR3mQ2BnA= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791459182; c=relaxed/simple; bh=KUJp+kW5eAWQKOFTGG+3edEQLI6tkQPYxyAiQQqYNjg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gQPH9N4HuOd2LkDyuE+hc/KJ4w8Tgmp5VTRGGiQINI+yvP1SIPpO0SmKiA2G2MFRMs/L/4MnjEEUuALR+wlRr8It/ngePymEGAneswUZk9wUhx07ZGRw90LF6c4zVjC0B0MFpdHEoMFyHNq47jRJoN/eoT50p1Ydqev6c9eRSbM= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=proxmox.com; spf=pass smtp.mailfrom=proxmox.com; arc=none smtp.client-ip=94.136.29.106 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=proxmox.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=proxmox.com X-Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 3E38F46482; Thu, 08 Oct 2026 13:32:52 +0200 (CEST) X-Cc: Andrea Mayer <andrea.mayer@uniroma2.it>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261005141850.278fdefb@kernel.org> X-User-Agent: NeoMutt/20260504 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1791459171217