Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4116740img; Tue, 26 Mar 2019 03:23:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqxt470ikmSwua5C08oZVZLDEXm56gbqaLDo7Co1QpLlQlflSwhDUM2ItL2x1uHDACEM5/64 X-Received: by 2002:aa7:8019:: with SMTP id j25mr29274548pfi.77.1553595791356; Tue, 26 Mar 2019 03:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553595791; cv=none; d=google.com; s=arc-20160816; b=HLAVbev8HFKs/1MHV8BdTB4IFOdM86iWDqm9HG3RVF8L/FD+3HHBYgWPLnbZc6vUB9 Yn3qEhrSW5U6LGfMYQWgij0BQdlnCa+jTdxoNxC9TfX3eJ6ww8zq4bxEQpNumIoef0R3 MWfD+IGfKN805/natUf2wm2mtvOAfRWaQNnnpfD/U0BCiMNGWTTLL4iBZPU0LYERthMk Hao6DdPVCIFUotzmuwVs+ljHUpIMgLgAgIY7Imck9jLN6Na2zLzeDAi7M+nJpsqhgC0f iL/+s+f0GA111+xEIQPCQx1XHw6RVlotMR5oB2TJ3mG3CAPCtx/S8ZKahkHrgvC2Ubbb 38QA== 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:dkim-signature; bh=lRVZi2r3G7VUSF3IA05APgb6NuW2Y3SH/ohQpo5admk=; b=Ayi9dSBKNOzij/ZZmbL7zZU2H3lbQv0zS0vA01zSrPXA1HcHrAhWG3OPJPpww3Ulvu GMpshoD0CGoljpgkuTYjRjK/13TE6lQdhyBeKjIIFSIv3xwqOVPZta9ydW40br7y85Ee 2qG68+vvSGzvNr7t3lAXNhZruuarzuiA/e2JuDD0HBPEK45Wwa4DsjLurrZh7tHfJiEj 7hnPU7FEiFWBhRS6laXloDSAG7NulaQp+KJ4BdItHAeYBF4oh2JebKZjcArv4LH+SlHn obOlZyw+R0ylf5OUwZIbbgrLNTT/TOaHQIyFhTWb9E3KlSm5Wx4zGFJAWoJrcPN3jJt5 ij4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=vH3GlHBq; 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 bf3si16052682plb.74.2019.03.26.03.22.56; Tue, 26 Mar 2019 03:23:11 -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; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=vH3GlHBq; 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 S1731205AbfCZKWQ (ORCPT + 99 others); Tue, 26 Mar 2019 06:22:16 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:51148 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbfCZKWQ (ORCPT ); Tue, 26 Mar 2019 06:22:16 -0400 Received: by mail-wm1-f67.google.com with SMTP id z11so12067943wmi.0 for ; Tue, 26 Mar 2019 03:22:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lRVZi2r3G7VUSF3IA05APgb6NuW2Y3SH/ohQpo5admk=; b=vH3GlHBq/V16PQuKuyAWiSwwPoAHZCGKlM7oper6rqeI+RUvvCqgXfKpK9TKG0mZ0r ozTPwnhbpB4H3kwLS3PoFcykkwfsBHVng+9O6VYW1JA8r2+o6alZFOPH7TVYlbAdxM6U JcBz44JWsBZRJyUfKdooNCLCXpRShHW6noRLihchcUUyJ+f4hOhSG2GnvJhEno48cbw5 Q8cZjm0JUUhRsN+wWcbhKLPS0ql5N9YQ84gLSSHcI0K15+2987e/54p0IRMxJg+ILQWg wQBAnhBGOj3weYPIuD3dqH8Arg41LCowU7NVLTAMXLMT3NXjwfAggcrglpf4xc8TCEus wRpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lRVZi2r3G7VUSF3IA05APgb6NuW2Y3SH/ohQpo5admk=; b=F632v0XEgYobyJAAMC6LjJM7NYmqPZR0OGP+12XYRToXEnPP+yH91QGvfnjEpgOs8p /fT++uQw50HOnCDp7POQv9att7q+ATwhzPO5WAqWRUnLMCoLVAOkmQxBPAxYKKmdUAub 0Qjcc9fFXkFRgxEs4E1ynyA0E4/sRwF3ROlw6wDqhcBZB1qaWFYAH6/6NIonGrfVzRuF 3ViOuWp55KOS+3/lflhDreS6bHDDc6+WcSmhAHqDkkjq9cyVv33ywcyO5H36kmo/dE0c 2ymIUFc4NkO3XrbBg5o0SkMMPyha2c9GO6HOGqhaE1+3/ELGubPmJA+/v8KXEtVY/g92 fuuA== X-Gm-Message-State: APjAAAVtu2pb0ILj/fc5YWHFgaAkLovo26YpB5jxzHTiAh8HN+qUO1y8 TnsZyJf3eZlJZX8F/JQcXoxmOfW1FdA= X-Received: by 2002:a1c:1d4:: with SMTP id 203mr9206191wmb.101.1553595734421; Tue, 26 Mar 2019 03:22:14 -0700 (PDT) Received: from localhost (mail.chocen-mesto.cz. [85.163.43.2]) by smtp.gmail.com with ESMTPSA id b3sm22047351wrx.57.2019.03.26.03.22.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 03:22:14 -0700 (PDT) Date: Tue, 26 Mar 2019 11:11:26 +0100 From: Jiri Pirko To: Michal Kubecek Cc: David Miller , netdev@vger.kernel.org, Jakub Kicinski , Andrew Lunn , Florian Fainelli , John Linville , Stephen Hemminger , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v5 03/22] netlink: add strict version of nla_parse_nested() Message-ID: <20190326101126.GC2230@nanopsycho> References: <3a0ca34890256f86a4ca0c4f4582a0cff5af95ad.1553532199.git.mkubecek@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a0ca34890256f86a4ca0c4f4582a0cff5af95ad.1553532199.git.mkubecek@suse.cz> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mon, Mar 25, 2019 at 06:08:03PM CET, mkubecek@suse.cz wrote: >Similar to nla_parse_strict() and nlmsg_parse_strict(), add also >nla_parse_nested_strict() as a version of nla_parse_nested() with strict >policy checking. > >Signed-off-by: Michal Kubecek Acked-by: Jiri Pirko