Re: [iproute PATCH] ip-link: Fix listing of alias interfaces

2019-02-08 Thread Phil Sutter
Hi Stephen, On Fri, Feb 08, 2019 at 09:56:47AM -0800, Stephen Hemminger wrote: > On Thu, 7 Feb 2019 14:05:27 +0100 > Phil Sutter wrote: > > > Commit 50b9950dd9011 ("link dump filter") accidentally broke listing of > > links in the old alias interface notation: > > > > | % ip link show eth0:1 >

Re: [iproute PATCH] ip-link: Fix listing of alias interfaces

2019-02-08 Thread Stephen Hemminger
On Thu, 7 Feb 2019 14:05:27 +0100 Phil Sutter wrote: > Commit 50b9950dd9011 ("link dump filter") accidentally broke listing of > links in the old alias interface notation: > > | % ip link show eth0:1 > | RTNETLINK answers: No such device > | Cannot send link get request: No such device > > Pri

Re: [iproute PATCH] ip-link: Fix listing of alias interfaces

2019-02-08 Thread David Ahern
On 2/8/19 4:09 AM, Michal Kubecek wrote: > Not only that, other ip link subcommands also use ioctl for interface > lookup so that e.g. "ip link del dummy1:x" deletes dummy1 without any > complaint. > > But as I mentioned earlier in http://patchwork.ozlabs.org/patch/1037934/ > I'm not sure this beh

Re: [iproute PATCH] ip-link: Fix listing of alias interfaces

2019-02-08 Thread Michal Kubecek
On Fri, Feb 08, 2019 at 11:40:57AM +0100, Phil Sutter wrote: > On Thu, Feb 07, 2019 at 04:24:36PM -0800, Stephen Hemminger wrote: > > On Thu, 7 Feb 2019 14:05:27 +0100 > > Phil Sutter wrote: > > > > > Commit 50b9950dd9011 ("link dump filter") accidentally broke listing of > > > links in the old

Re: [iproute PATCH] ip-link: Fix listing of alias interfaces

2019-02-08 Thread Phil Sutter
On Thu, Feb 07, 2019 at 04:24:36PM -0800, Stephen Hemminger wrote: > On Thu, 7 Feb 2019 14:05:27 +0100 > Phil Sutter wrote: > > > Commit 50b9950dd9011 ("link dump filter") accidentally broke listing of > > links in the old alias interface notation: > > > > | % ip link show eth0:1 > > | RTNETLIN

Re: [iproute PATCH] ip-link: Fix listing of alias interfaces

2019-02-07 Thread Stephen Hemminger
On Thu, 7 Feb 2019 14:05:27 +0100 Phil Sutter wrote: > Commit 50b9950dd9011 ("link dump filter") accidentally broke listing of > links in the old alias interface notation: > > | % ip link show eth0:1 > | RTNETLINK answers: No such device > | Cannot send link get request: No such device > > Pri

[iproute PATCH] ip-link: Fix listing of alias interfaces

2019-02-07 Thread Phil Sutter
Commit 50b9950dd9011 ("link dump filter") accidentally broke listing of links in the old alias interface notation: | % ip link show eth0:1 | RTNETLINK answers: No such device | Cannot send link get request: No such device Prior to the above commit, link lookup was performed via ifindex returned b