Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp139711img; Wed, 27 Mar 2019 18:58:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeQ0Hy1v+taV1w+Tn5z2Nn6KUyiq+pkio5nI6FMkWJBiLReoJuIqd6QKl0FOdFrDPAoCTf X-Received: by 2002:a62:ab13:: with SMTP id p19mr37994000pff.131.1553738302002; Wed, 27 Mar 2019 18:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553738301; cv=none; d=google.com; s=arc-20160816; b=xbC5WtpNjVi/KFORALg9dlt94CkmW+w9zVH3C6DEnD9Zu5Od7n6LwMTaIBOvCvGd4G j9h0QM3crfTGSRn7Wm7hlPA0p/ER9dcju5bdKK6bxs1R/ffw+heBLGT3RKErnyb/QjDt 7ZbbjIlaNBmHnad62zDY0dTTOsJr6juJ2u18wuUcSqFViryH4fcSHs7+yVw/CvrkMeyO oseXm6xoJbt1ueNSU9f4N/qlhVqYR95qqQS5nopik8yPPsr4j2bwV4uUwbKAm7fk1OTL eOAh/+h2iBYjN7BS0a7MlTzZfVnjr6v3jcldia4/yurh87tFBhnR2K/flhIOCHIjygdX cY4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject:dkim-signature; bh=ZuyvGxlUFKb1IZG9Q9FQdggww/bT/ghiN9QE5z6WSTw=; b=jLUu6oxU12RYJDQiEJkTAwzQ5Re3k5tPJI3Cpg80x6SncBPpYo0o3fsPe7DETwCvM4 yS0zq8XC2fSwWAqnv/pgmAdfRPQlATep7U/5lz8to8qgcLijCRoXVXdyxkinXlvAPpld Fg2babjScpfy3aJfVVpoCL+11cwuqkzGdau7yMeLFpRpdq5uxiWLQLDRTNyNlYOZbx58 vBK+h2g9NjFKwwXC6qQcZk2ND2vraoVvWHtj/QON4l8BWlk4KwaWkaswu1L3v0t81Gl7 maOK+Uc92HlSyILioHqtxIqR2172nSoDMfAxn/JyQmUyJoExxyiy+T7DEtz7XbTnuixp gAhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oTeuxtvy; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 61si21592903plr.153.2019.03.27.18.58.06; Wed, 27 Mar 2019 18:58:21 -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=@gmail.com header.s=20161025 header.b=oTeuxtvy; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728114AbfC1B5U (ORCPT + 99 others); Wed, 27 Mar 2019 21:57:20 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:38742 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbfC1B5U (ORCPT ); Wed, 27 Mar 2019 21:57:20 -0400 Received: by mail-ot1-f67.google.com with SMTP id e80so16875173ote.5; Wed, 27 Mar 2019 18:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZuyvGxlUFKb1IZG9Q9FQdggww/bT/ghiN9QE5z6WSTw=; b=oTeuxtvyOioBh/Qi4/Zg/zpqRjeTUtfJ2+39JzTOwDsYAiASC8RhvaTVaAodJkeZeW kPZzjlZFQJGmqZBHJf9f9Kv5y58h2Z3Xo0AHA3bP19NAGt1qWzM8i69PHbNZNG5XhQcS FzMYsmKpGojnU+ArV2u5isAIORVNhQUZaJZlFAJgzlVkJ2cbZ3GZSHrL715EGJSSxMwO PWH1Mv0j1uJnYz1UUcblF6PPs5s1XyYEps9q8rZncbrueTBO8RzOP08ngUJblgk+V5YK 5i9Z62NtGoz7YzmkAIY1Ewl8BztbIYUZPmZPvfcO3A91yK+ElHeXouE9+SPntvWFMsyQ Y4pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZuyvGxlUFKb1IZG9Q9FQdggww/bT/ghiN9QE5z6WSTw=; b=Hcpphnz71HA94gxt9ToJ2IZACpuGmmfgFFWRGYBxX4FYa7uG1st8F1EOPLoXF/El8b nfYtgV3lFL3aYP5veoeZ2ji/5Vfvm4U+CNcjaKeX5Tj8Myyy01qRSpy1DAUE6mnCavP6 7ctbdJtYneYMPxF3T914cTB71Be1yhMxMv9SOXWj27i/BCoHbW9/MfdgO+n/E2CZAJ5F dfjR7ZLFnZl1HyGuQEnmvaYna6y4QIheDr5SLDH9DPNVX4k8Bz2boR6JXZ5Gv292Dpbo PTOZY5XmZICsg9zwKbhHoF1ZtGZf8RHmyB0gbuLK4P33diop758we/4QkxsT8UoLfYzj scUQ== X-Gm-Message-State: APjAAAU1t2qw0P6hY6l3l6X39aypPp08ZJOwvHwKZMl4fleAkqFaTscg odJfa8s72hUfNWPP3DsvD0kHhH2A X-Received: by 2002:a9d:ec3:: with SMTP id 61mr30325784otj.43.1553738239302; Wed, 27 Mar 2019 18:57:19 -0700 (PDT) Received: from [192.168.1.3] (ip68-101-123-102.oc.oc.cox.net. [68.101.123.102]) by smtp.gmail.com with ESMTPSA id a140sm2047540oii.17.2019.03.27.18.57.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2019 18:57:18 -0700 (PDT) Subject: Re: [PATCH net-next v5 03/22] netlink: add strict version of nla_parse_nested() To: Michal Kubecek , David Miller , netdev@vger.kernel.org Cc: Jakub Kicinski , Jiri Pirko , Andrew Lunn , John Linville , Stephen Hemminger , linux-kernel@vger.kernel.org References: <3a0ca34890256f86a4ca0c4f4582a0cff5af95ad.1553532199.git.mkubecek@suse.cz> From: Florian Fainelli Openpgp: preference=signencrypt Message-ID: <84a36184-d456-1a01-bb33-e9f1511c7546@gmail.com> Date: Wed, 27 Mar 2019 18:57:14 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <3a0ca34890256f86a4ca0c4f4582a0cff5af95ad.1553532199.git.mkubecek@suse.cz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/25/2019 10:08 AM, Michal Kubecek 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 Reviewed-by: Florian Fainelli -- Florian