diff options
author | Tonghao Zhang <[email protected]> | 2018-01-28 03:38:58 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-29 14:32:31 -0500 |
commit | 30e948a37839c633d18f6c4cf8a212912ba9449c (patch) | |
tree | eef7c45ed1adf85d124930e4447b15f361185a37 /net/ipv4/tcp.c | |
parent | 40ca54e3a686f13117f3de0c443f8026dadf7c44 (diff) |
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 <[email protected]>
Signed-off-by: Tonghao Zhang <[email protected]>
Acked-by: Al Viro <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions