Tonghao Zhang 30e948a378 ipv4: Get the address of interface correctly.
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: 03aef17bb79b3 ("devinet_ioctl(): take copyin/copyout to caller")
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-29 14:32:31 -05:00
..
2018-01-24 19:13:45 -05:00
2017-10-21 01:33:19 +01:00
2018-01-24 19:13:45 -05:00
2017-10-12 22:57:11 -07:00
2018-01-02 14:27:29 -05:00
2017-10-16 21:24:25 +01:00
2018-01-25 16:41:14 -08:00