Received: by 10.223.176.46 with SMTP id f43csp3125261wra; Mon, 22 Jan 2018 08:48:19 -0800 (PST) X-Google-Smtp-Source: AH8x227Ron980Fj/qNCGNKxg9yOw1hFbbKrqV9kIEI9RUQF6nJYutQo0TDGhTS+qR39uDJJKx7Jm X-Received: by 10.36.219.195 with SMTP id c186mr8087513itg.61.1516639699449; Mon, 22 Jan 2018 08:48:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516639699; cv=none; d=google.com; s=arc-20160816; b=OSverAndyVnOKIADh9aOAYw/frR1pj0dRlj8K11QYMyVdnzhj7pKouHpBmOAk0Sr0J bcC/XgxhRbdDLxrXg9rjyXawtvDWvdO5I39MpRvfAcfUsXqHZtKE7KVVkl56Fh9IbYxJ RHlon9t6pefTG4cXDJvIgazsRWA4snUPe33l2FjrLA5OB5mSLPJkKKhEz7h5hyD7tPX7 wdMoz1RvRGQGR0UlZzDOG70XAiA/SrVbFz0Kr3B9k2FFWjoqrQOnrm2kjjBnavyw5m93 C5Co33setL8/4qB+VDh9IP895imDQzoOjTuMYTmWczkVBblow9JF4qGoIgkOEjxRbFPV ikUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=N8eCvZDyaDzdN7wp32mM6kQzv35+pq0CLZ7RFeP6aPY=; b=R6zhEIw8i5N3nuEqB2L0MpvlIMTfwQGDJ/QZnpGYOuOxBg1FgSTYxN/TqPpTzz9WwA SVmFQmdNi2bYbB7/Lr9QxDyKyY++zCVxLWof9+DzuVTv0kbQBMeApPNh1bifFNxI0eMU 8rg0cj3FqAYMwJ1CdYHdsVrRLKUi23vYb2ZET1vjnSQ+HpL9THJnlGgaPyAIW8NitROg tJyAmCRBOgNVQGj9UIVvCOAmC0E27thn23pqRWIbJRJgKLDhVNI+Rbl0b2sXGOViEaEc nd62ZeFNhmhDptW8EsK5Wl48UTg6exA366sMriWizO+JXscOWqg/lHqTvh52MwpHwQKu 5obQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si13062471iot.251.2018.01.22.08.48.06; Mon, 22 Jan 2018 08:48:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751324AbeAVQrd (ORCPT + 99 others); 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 Received: by newverein.lst.de (Postfix, from userid 2407) id 42C4968D41; Mon, 22 Jan 2018 17:47:30 +0100 (CET) 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 Precedence: bulk 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.