Re: [PATCH] ipv4: Get the address of interface correctly.

2018-01-29 Thread David Miller
From: Tonghao Zhang Date: Sun, 28 Jan 2018 03:38:58 -0800 > 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, eve

Re: [PATCH] ipv4: Get the address of interface correctly.

2018-01-28 Thread Al Viro
On Sun, Jan 28, 2018 at 02:19:08PM +, 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 ("03

Re: [PATCH] ipv4: Get the address of interface correctly.

2018-01-28 Thread Al Viro
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,

[PATCH] ipv4: Get the address of interface correctly.

2018-01-28 Thread Tonghao Zhang
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. Fixes: 03aef17b