public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Oliver Hartkopp <socketcan@hartkopp•net>
To: Ulrich Gemkow <ulrich.gemkow@ikr•uni-stuttgart.de>,
	netdev@vger•kernel.org,
	Nicolas Dichtel <nicolas.dichtel@6wind•com>
Subject: Re: displayed name changed in ip link show for bridge- and other interfaces
Date: Sun, 14 Jun 2015 21:12:14 +0200	[thread overview]
Message-ID: <557DD20E.4080005@hartkopp.net> (raw)
In-Reply-To: <557DCD0A.5040500@hartkopp.net>

@Nicolas: Just saw that you were not responsible for the @NONE m)

Sorry.

Btw. do you know why this @NONE stuff just emerged in 4.1-rc ?

Regards,
Oliver

On 14.06.2015 20:50, Oliver Hartkopp wrote:
> On 14.06.2015 12:00, Ulrich Gemkow wrote:
>
>> between Linux 4.0.5 and 4.1-rc7 the name as shown by "ip link show"
>> of bridge interfaces (and at least the dummy interface) changed from
>> (i.e.) br1 to br1@NONE.
>>
>> This breaks (at least for me :-) userspace (ip link show parsing
>> scripts). It is easy to solve, so not a big problem. I am using
>> Ubuntu 14.04.
>>
>> Is this user visible change intended?
>>
>
> Hi Ulrich,
>
> looking at iproute2 I found this patch:
>
> http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/ip/ipaddress.c?id=ccdcbf35f120c754660b3b3f48fa67cc950a6407
>
>
>  > iplink: add support of IFLA_LINK_NETNSID attribute
>  > This new attribute is now advertised by the kernel for x-netns interfaces.
>  > It's also possible to set it when an interface is created (and thus
>  > creating a x-netns interface with one single message).
>
> Due to the fact that the kernel now provides the new attribute we get this
> @NONE stuff for interfaces that have no iflink value.
>
> This definitely is @UGLY !
>
> @Nicloas: Why don't you just omit the @NONE when iflink is zero in the new
> attribute?
>
> Regards,
> Oliver
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger•kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-06-14 19:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-14 10:00 displayed name changed in ip link show for bridge- and other interfaces Ulrich Gemkow
2015-06-14 18:50 ` Oliver Hartkopp
2015-06-14 19:12   ` Oliver Hartkopp [this message]
2015-06-15  7:23     ` Nicolas Dichtel
2015-06-15  9:13       ` Nicolas Dichtel
2015-06-15 15:54         ` Stephen Hemminger
2015-06-16 17:35           ` Oliver Hartkopp
2015-06-16 17:47             ` Oliver Hartkopp
2015-06-17  7:26             ` Nicolas Dichtel
2015-06-20 22:58               ` Oliver Hartkopp
2015-06-23 12:48                 ` Nicolas Dichtel
2015-06-23 17:21                   ` Oliver Hartkopp
2015-07-06 15:25                     ` [PATCH net] Revert "dev: set iflink to 0 for virtual interfaces" Nicolas Dichtel
2015-07-06 16:38                       ` Oliver Hartkopp
2015-07-07  7:44                         ` [PATCH net v2] " Nicolas Dichtel
2015-07-08 22:52                       ` [PATCH net] " David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=557DD20E.4080005@hartkopp.net \
    --to=socketcan@hartkopp$(echo .)net \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=nicolas.dichtel@6wind$(echo .)com \
    --cc=ulrich.gemkow@ikr$(echo .)uni-stuttgart.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox