From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751334AbeAVQrd (ORCPT ); Mon, 22 Jan 2018 11:47:33 -0500 Received: from verein.lst.de ([213.95.11.211]:53351 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbeAVQrb (ORCPT ); Mon, 22 Jan 2018 11:47:31 -0500 Date: Mon, 22 Jan 2018 17:47:30 +0100 From: Christoph Hellwig To: Al Viro Cc: netdev@vger.kernel.org, "David S. Miller" , Linus Torvalds , linux-kernel@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH 04/10] kill dev_ifsioc() Message-ID: <20180122164730.GD27216@lst.de> References: <20180118193156.GC13338@ZenIV.linux.org.uk> <20180118193755.19997-1-viro@ZenIV.linux.org.uk> <20180118193755.19997-4-viro@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180118193755.19997-4-viro@ZenIV.linux.org.uk> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 07:37:49PM +0000, Al Viro wrote: > From: Al Viro > > it's been equivalent to sock_do_ioctl() since 2009... > > Signed-off-by: Al Viro Note that we have two different dev_ifsioc() defintions, which is a little weird. But the net/socket.c one does indeed seem superflous as there is no point in doing the compat_alloc_user_space / copy_in_user as far as I can tell. compat_ifreq differs from ifreq in the size of ifru_data, but it seems none of these ioctls actually use it. A better changelog would be nice, though.