[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180128144457.GH13338@ZenIV.linux.org.uk>
Date: Sun, 28 Jan 2018 14:44:58 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Tonghao Zhang <xiangxia.m.yue@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: Get the address of interface correctly.
On Sun, Jan 28, 2018 at 02:19:08PM +0000, Al Viro wrote:
> On Sun, Jan 28, 2018 at 03:38:58AM -0800, Tonghao Zhang wrote:
> > When using ioctl to get address of interface, we can't
> > get it anymore. For example, the command is show as below.
> >
> > # ifconfig eth0
> >
> > In the patch ("03aef17bb79b3"), the devinet_ioctl does not
> > return a suitable value, even though we can find it in
> > the kernel. Then fix it now.
>
> D'oh...
>
> Acked-by: Al Viro <viro@...iv.linux.org.uk>
>
> I really wonder how has that avoided loud screams at boot time...
... and looks like LTP doesn't catch that either - none of these
ioctl is ever mentioned in the source, at least (of all SIOCS...
it only tries SIOCSIFFLAGS). Is there any testsuite that would
cover net ioctls?
Powered by blists - more mailing lists