From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] ipv4: Get the address of interface correctly. Date: Mon, 29 Jan 2018 14:33:30 -0500 (EST) Message-ID: <20180129.143330.141200849236022345.davem@davemloft.net> References: <1517139538-25746-1-git-send-email-xiangxia.m.yue@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, viro@zeniv.linux.org.uk To: xiangxia.m.yue@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:48780 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751219AbeA2Tdb (ORCPT ); Mon, 29 Jan 2018 14:33:31 -0500 In-Reply-To: <1517139538-25746-1-git-send-email-xiangxia.m.yue@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: 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, 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 > Signed-off-by: Tonghao Zhang Applied, thank you.