From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 560B6C433EF for ; Wed, 16 Feb 2022 15:10:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235395AbiBPPLF (ORCPT ); Wed, 16 Feb 2022 10:11:05 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:50662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233894AbiBPPLE (ORCPT ); Wed, 16 Feb 2022 10:11:04 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C92CA2A64E2 for ; Wed, 16 Feb 2022 07:10:52 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7864BB81F1E for ; Wed, 16 Feb 2022 15:10:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D40C6C004E1; Wed, 16 Feb 2022 15:10:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645024250; bh=lGgyAm5EpK0xvS+9RYFxVTzRzcYr0VwToVU6nAfWtqE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=M0Fw9lUb1Il2Q2UcpG17SUxwwdiJuEm2ia0oxNZm8nVx1tU+EWNDeCpQp+br0oR8a lwAAckJX1jmLbNeYSSUumOv3EULktAEIXFoqF2gY2m6cUuafdZjJHngVXbJouAQZ+S btCLMGsmuav1GjzEBBLDk3hUHup33IoWE70FxQ+Nu750kDlf7bA7O88lDMAWcll6kX cO21AzhAXgbM18/upISy3QhFSh03PXrEEKL+9+NLmACNuR5+ZPAYJnLBt9JkWl1pmF 1Jv6xzf2A6DD1MHEfbjddcIY5v1omaHMwpQ4TRzE1oAmdnV2LPBNuDIYj966HozNqX Xo4ya7u5C7C1w== Message-ID: Date: Wed, 16 Feb 2022 08:10:49 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH net-next] net: rtnetlink: rtnl_stats_get(): Emit an extack for unset filter_mask Content-Language: en-US To: Petr Machata , netdev@vger.kernel.org Cc: "David S. Miller" , Jakub Kicinski , Ido Schimmel References: <01feb1f4bbd22a19f6629503c4f366aed6424567.1645020876.git.petrm@nvidia.com> From: David Ahern In-Reply-To: <01feb1f4bbd22a19f6629503c4f366aed6424567.1645020876.git.petrm@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 2/16/22 7:31 AM, Petr Machata wrote: > Both get and dump handlers for RTM_GETSTATS require that a filter_mask, a > mask of which attributes should be emitted in the netlink response, is > unset. rtnl_stats_dump() does include an extack in the bounce, > rtnl_stats_get() however does not. Fix the omission. > > Signed-off-by: Petr Machata > Reviewed-by: Ido Schimmel > --- > net/core/rtnetlink.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by: David Ahern