Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1174161pxf; Fri, 26 Mar 2021 02:39:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwz0HrbIzp3RHh3Bd3QticSl9wQztb2JpOZ1cbGvP8ZfuTkXNzpNWeD+spnHg2D50N7PWAV X-Received: by 2002:a05:6402:14cc:: with SMTP id f12mr14449127edx.19.1616751587645; Fri, 26 Mar 2021 02:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616751587; cv=none; d=google.com; s=arc-20160816; b=OqD2GiuTeILcqHqR3rMYZzICzdia3BCk/4kzTbvsp6JftV5c6p/V2iC0fpOPTImODI B+D0cMLPU6G+bpSTwHlhKujpQXF9GpO1jn/XcJmBPI6hsA3hnsYpqYgZqmF8wltYHsBk Sl1xGQk4e6YgT9SmlFzAiuEK2yjHiKiI2Oaa3awg8SVK+7IKRsZX2AWe7zLa2P5srdiG Xhm2KL1Pf+0eOdLiwNEVHOjmCxM2+h2MV48gw7szveTLXLYtOWS3/zQrQ2cVFvrX0UEh pBSys53MivenvbNkLFCTMQztkNSmyRefRVZ6pJ04lTI9AWLsRk3XbfgeGmXt5bPkzfH2 XmYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=w8duIT5e1rk48mI9nnfv53pxppSc02hA2rIN3iywONM=; b=f1/DDJkIJGQrsJN2stKeSMWOhZfkk/KUk2HjmZlwLbRrDFCkdRmM6nEnBNT9qv8QF5 8sIVjnfPSXrzhlYJKa4F1S5J4b/C7LCef68dETIvChXQJOpHS310X7h3wIl8Kr7r3xsO Hb6WkIC5hlOW9FnyqT0flY2mhBko/IdMsWd287ACO/b9+hiPxOIFUxMS4zz7ReC4WiJP DJlsewP9AwxMPg0rGP+lupinWrhHNR+kE4lEdnXj17IDFUtiq8ldL3MeCsI5E1bNefPC Y26ULcmLepzOyGcmNjBTP2rG+jeXD4UEPyRSFxzwnhimoSVnNWhaWXd+tLY466exfOHK PS3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="MdXH/i6l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si5973164eds.85.2021.03.26.02.39.24; Fri, 26 Mar 2021 02:39:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="MdXH/i6l"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229590AbhCZJgm (ORCPT + 99 others); Fri, 26 Mar 2021 05:36:42 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:40126 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230359AbhCZJgO (ORCPT ); Fri, 26 Mar 2021 05:36:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616751373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w8duIT5e1rk48mI9nnfv53pxppSc02hA2rIN3iywONM=; b=MdXH/i6lG4wo0Bx1bGXW6q5V44stEHyc4aC4CbrIPy1DF8O+6fpAc2ue2sY+dHZu7EuUcW NbVidYD3LiTvuKtwBy1A012UY0YkdJ91PgyDYmzQlK8vDAINT58JzS1VhuFwb25JHRYTri 7tiA1pb8mWmwjfrKqPeg2RHUFvzkVbw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-518-n_pU--P2P12wUI6VC2Svxg-1; Fri, 26 Mar 2021 05:36:10 -0400 X-MC-Unique: n_pU--P2P12wUI6VC2Svxg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AFE7B107BF00; Fri, 26 Mar 2021 09:36:09 +0000 (UTC) Received: from ovpn-115-44.ams2.redhat.com (ovpn-115-44.ams2.redhat.com [10.36.115.44]) by smtp.corp.redhat.com (Postfix) with ESMTP id 168E518AAB; Fri, 26 Mar 2021 09:36:07 +0000 (UTC) Message-ID: <8eadc07055ac1c99bbc55ea10c7b98acc36dde55.camel@redhat.com> Subject: Re: [PATCH] udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...) From: Paolo Abeni To: Norman Maurer , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, dsahern@kernel.org Cc: Norman Maurer Date: Fri, 26 Mar 2021 10:36:06 +0100 In-Reply-To: <20210325195614.800687-1-norman_maurer@apple.com> References: <20210325195614.800687-1-norman_maurer@apple.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, 2021-03-25 at 20:56 +0100, Norman Maurer wrote: > From: Norman Maurer > > Support for UDP_GRO was added in the past but the implementation for > getsockopt was missed which did lead to an error when we tried to > retrieve the setting for UDP_GRO. This patch adds the missing switch > case for UDP_GRO > > Fixes: e20cf8d3f1f7 ("udp: implement GRO for plain UDP sockets.") > Signed-off-by: Norman Maurer The patch LGTM, but please cc the blamed commit author in when you add a 'Fixes' tag (me in this case ;) Also please specify a target tree, either 'net' or 'net-next', in the patch subj. Being declared as a fix, this should target 'net'. One thing you can do to simplifies the maintainer's life, would be post a v2 with the correct tag (and ev. obsolete this patch in patchwork). Side note: I personally think this is more a new feature (is adds getsockopt support for UDP_GRO) than a fix, so I would not have added the 'Fixes' tag and I would have targeted net-next, but it's just my opinion. Cheers, Paolo