Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp25861imm; Thu, 30 Aug 2018 06:12:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbID8lA68nVanx2A5nEemlXSDo1Tf5nyeUJyzWnwH6TMZxW2mIgkZNlUoN/k5naWI1xHMvw X-Received: by 2002:a63:4826:: with SMTP id v38-v6mr9824267pga.379.1535634770739; Thu, 30 Aug 2018 06:12:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535634770; cv=none; d=google.com; s=arc-20160816; b=CA4lD8oBPLhSTtRw1jNClNOfONlNnZnW/M5ZYeuM90qcYy1I/kn4F0jApm3x0SnvJl 6MXKKoc41sMi3T6/c3qs9lU7L9T9XyBIe2ZB8IgmhugXQcnLdDw5alcKKCEHWK/HfABn RMh5cwOfXurnBMjU4Lr7iMHindfKDuAOYVpYtimI3blQIHJJGfMHONj933sKurwuJBN1 g4oHTAZmDQcE5bNqIaAzjBUTAEjRlw3JkA/QLUz3EPxw17sEPLBMwDGRER0m/yZmbWKJ wmyuyiDaNBYlO6qzIIv/z/llaKLkFAiMcVlRfFV8YGZWKtGBhe0YuO4SDSZx2UkT4fJd p5nQ== 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=AhDKNvlznZSDR6E+/sjjsKsRamQHGtc0D/BH2C6CZ/E=; b=EMQB4D87ttgWKW7EMQwlWwJe1w4vT0SAO2BMPN6ZO0QyvZ7unv5s9gCHcr9lOH2mgo UEOa1yXnhuCW1LKTt4goeF0tRgF7wFnaVkptf7T49lq6bzWnJog+jyZcPKgAodGsK1Ch NRr6DJlO0ZdL8UYKe+clD/39sDiHUcy2WRyUn6Wo3az9gwFFR+JdxKdW9zqfLCrQyEqC jOu3RirmFh7jj6JzyVHBxm9pZevOEixmv5hrFvKkQwyqq2xE04/kpqgmZljQ2mKzAQMe mlnHTjz2vp9sDmvaxa8KJgSLEWLYUnvX0HuObSYzrP5pXBTbWsuQuy1SwCp98cFDzfor 8s7g== 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 i2-v6si6406638plt.112.2018.08.30.06.12.26; Thu, 30 Aug 2018 06:12:50 -0700 (PDT) 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 S1728942AbeH3RMF (ORCPT + 99 others); Thu, 30 Aug 2018 13:12:05 -0400 Received: from zimbra.alphalink.fr ([217.15.80.77]:53788 "EHLO zimbra.alphalink.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728273AbeH3RMF (ORCPT ); Thu, 30 Aug 2018 13:12:05 -0400 Received: from localhost (localhost [127.0.0.1]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id 484862B52057; Thu, 30 Aug 2018 15:09:59 +0200 (CEST) Received: from zimbra.alphalink.fr ([127.0.0.1]) by localhost (mail-2-cbv2.admin.alphalink.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id O7a3SKAnnwGg; Thu, 30 Aug 2018 15:09:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id D366E2B5210F; Thu, 30 Aug 2018 15:09:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail-2-cbv2.admin.alphalink.fr Received: from zimbra.alphalink.fr ([127.0.0.1]) by localhost (mail-2-cbv2.admin.alphalink.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id J8X2HYaTKhGc; Thu, 30 Aug 2018 15:09:57 +0200 (CEST) Received: from c-dev-0.admin.alphalink.fr (94-84-15-217.reverse.alphalink.fr [217.15.84.94]) by mail-2-cbv2.admin.alphalink.fr (Postfix) with ESMTP id 989082B52057; Thu, 30 Aug 2018 15:09:57 +0200 (CEST) Received: by c-dev-0.admin.alphalink.fr (Postfix, from userid 1000) id 79CE760228; Thu, 30 Aug 2018 15:09:57 +0200 (CEST) Date: Thu, 30 Aug 2018 15:09:57 +0200 From: Guillaume Nault To: Arnd Bergmann Cc: Paul Mackerras , linux-ppp@vger.kernel.org, Networking , mitch@sfgoth.com, mostrows@earthlink.net, jchapman@katalix.com, xeb@mail.ru, David Miller , Al Viro , y2038 Mailman List , Linux Kernel Mailing List Subject: Re: [PATCH net-next 1/5] pppoe: fix PPPOEIOCSFWD compat handling Message-ID: <20180830130957.GD1473@alphalink.fr> References: <20180829140409.833488-1-arnd@arndb.de> <20180830110453.GC1473@alphalink.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 30, 2018 at 01:54:48PM +0200, Arnd Bergmann wrote: > On Thu, Aug 30, 2018 at 1:04 PM Guillaume Nault wrote: > > > > On Wed, Aug 29, 2018 at 04:03:26PM +0200, Arnd Bergmann wrote: > > > Support for handling the PPPOEIOCSFWD ioctl in compat mode was added in > > > linux-2.5.69 along with hundreds of other commands, but was always broken > > > sincen only the structure is compatible, but the command number is not, > > > due to the size being sizeof(size_t), or at first sizeof(sizeof((struct > > > sockaddr_pppox)), which is different on 64-bit architectures. > > > > > And the implementation was broken until 2016 (see 29e73269aa4d ("pppoe: > > fix reference counting in PPPoE proxy")), and nobody ever noticed. I > > should probably have removed this ioctl entirely instead of fixing it. > > Clearly, it has never been used. > > > > If you think it's worth fixing (as opposed to dropping this ioctl or > > its compat mode), then, > > Acked-by: Guillaume Nault > > I don't care much, but fixing it seems seems easier than coming > up with a convincing rationale for dropping. > > I'll update the changelog text to include your additional background > information though, unless someone else prefers to have it dropped. > Sounds good. Thanks.