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 9AB9CC433EF for ; Mon, 4 Jul 2022 08:35:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233332AbiGDIfZ (ORCPT ); Mon, 4 Jul 2022 04:35:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231497AbiGDIfY (ORCPT ); Mon, 4 Jul 2022 04:35:24 -0400 Received: from eidolon.nox.tf (eidolon.nox.tf [IPv6:2a07:2ec0:2185::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC185FB2 for ; Mon, 4 Jul 2022 01:35:23 -0700 (PDT) Received: from equinox by eidolon.nox.tf with local (Exim 4.94.2) (envelope-from ) id 1o8HY8-003LOT-7j; Mon, 04 Jul 2022 10:35:20 +0200 Date: Mon, 4 Jul 2022 10:35:20 +0200 From: David Lamparter To: David Ahern Cc: netdev@vger.kernel.org Subject: Re: [PATCH net-next 2/2] net: ip6mr: add RTM_GETROUTE netlink op Message-ID: References: <20220630202706.33555ad2@kernel.org> <20220701075805.65978-1-equinox@diac24.net> <20220701075805.65978-3-equinox@diac24.net> <0d18f6a3-78da-2dee-d715-39a043870eec@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0d18f6a3-78da-2dee-d715-39a043870eec@kernel.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, Jul 03, 2022 at 01:07:33PM -0600, David Ahern wrote: > On 7/1/22 1:58 AM, David Lamparter wrote: [...] > > + if (!netlink_strict_get_check(skb)) > > + return nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MAX, > > + rtm_ipv6_policy, extack); > > Since this is new code, it always operates in strict mode. > [...] > > + err = nlmsg_parse_deprecated_strict(nlh, sizeof(*rtm), tb, RTA_MAX, > > + rtm_ipv6_policy, extack); > > nlmsg_parse here. Thanks for the feedback! I've fixed the code, am currently retesting, and will post a v2 shortly. -David / equi