Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2610925pxa; Mon, 24 Aug 2020 20:40:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfdjKOVq6hYREI2FN3gNG2Fxf0GHyKW8NixFgxOwzfsKHXVq4mr5oNQWeQi23XQLBUwEYh X-Received: by 2002:a50:cd16:: with SMTP id z22mr8022368edi.155.1598326852561; Mon, 24 Aug 2020 20:40:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598326852; cv=none; d=google.com; s=arc-20160816; b=Zh2CY6IjPhNH5FPC74GzSBboiiyTLiqtStqMBRCeSURG6Ok53GXUcOz1GfvRBGzoX5 NvOHwleT/sATrqk/IThZ44LJtmjUvHm1zFg6gWp1IUKQIOf1Zv6VgmlUeB1Nbbe9laft xwi6Qe9qbDJbOl7Jzy9navZLOgeIbvMazLLOnmrnQx6Qth19HIlcE5XLjiHlK3tr+qDx lTn2Dl4SK1PS//DYh6bwfAJKbaCil5aXT8fWyM4mzJ+im0ePae5B3VMbztYWhTgSp9Jj a7QzkgoOlhbTvVeiu3jdIovZ+kgkaZRf0DTa8A7gqPIGB9hN6C4VEBXhsirxnHs1Mq/z DZqQ== 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:from:references:to:subject:dkim-signature; bh=aJK4CYpBJPrH1toP8zLPbQR7/OSGwyBsRegpuVoVLfM=; b=BChbiN3yjXZAMbJZRtaQf8/BOOyAow+EsM1VUT2TzQM78Ga3JEQAsdwgsoVy+XwkJm GopeoNV7HlWMoPqAAy5BWaOtrd5uz6P/egFZ+cRQKS5DfUOeQtmipb0GxJ0u5/UiD7Y+ Ur9qtFdGhfihfjvQwID3mBtctHuOtknmtOCfrgqeor28UFhDtHZ+ZsQmV1sJU9GVjhU+ 5XbRnO7m6m6k3xJjt2LnFljFwgfxACGP1ajD2mZhmEdsyqd0QJwPW1/wP74rFKSyGbRv ZrEV9zCV5WbwiYIQ1e8EX/38+bpuzrG50kGKjqVg+hX6PGyXQ+4HfpnExzl2PooSGlcp ZBnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U3Kxms8n; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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. [23.128.96.18]) by mx.google.com with ESMTP id i2si9059408ejp.500.2020.08.24.20.40.13; Mon, 24 Aug 2020 20:40:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@gmail.com header.s=20161025 header.b=U3Kxms8n; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S1728592AbgHYDgY (ORCPT + 99 others); Mon, 24 Aug 2020 23:36:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726532AbgHYDgY (ORCPT ); Mon, 24 Aug 2020 23:36:24 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2738BC061574; Mon, 24 Aug 2020 20:36:24 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id v13so10383122oiv.13; Mon, 24 Aug 2020 20:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=aJK4CYpBJPrH1toP8zLPbQR7/OSGwyBsRegpuVoVLfM=; b=U3Kxms8nGHG/4Cel6thKiw6GhrtcjVEviQYZYOrBThIqVF1LjLzpMsocDb3ui37Flj oBMq07YDPBK89FbhnNeenmJgGg4Q3NEVADr96BcxqGh01I6Oo7qOMyZp9NkZQNwCZKad khaeh13gdeYgwrGdTzfeQW9cdR97D3D8Pv++aOVvClcqRcOkjpG/+IpzayqLD6CuNMK9 dmbFXLz20bCjF1zauTjo0mUY/PgTxuFADrCG/IefnYrK2H5vpxrhv4HeU7PQs6QExccD zIYuRhRXwU/ru2mknYkNkUYKJZH9y2od7q9LqQEsBeXLpnVydT1AK/QSxyQNwTIO8BSH SkXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aJK4CYpBJPrH1toP8zLPbQR7/OSGwyBsRegpuVoVLfM=; b=W3/JnMQOTEkg4xIkI7gv6L54Kn+GS7peGvmbu8gFxhiMQcQ8x2w5Xc/G6aKoQkpBh/ 8SYXiudhn9Oxf1ymJwQ0XkUTOJFpBxnkSaCBWS7HlD99D43OG+CyTb2VglmVK4Ig3GDk yEiGMtBFeITdvHep4dA1+Ma1UqWD6bvsjVfeddCK6yZL6SVAL4h3un+hxj6hwKCn0sqn DGNXQ5JUwSbfGIoxmf4LBa+rfT26hq1FHu37X9DAp0Mv++kbfWkcGe57a3UIns3I004p MPJBxU0pd7av9ZcDmWeP9L+35Fjm+dRo7nHb6bpdOOFj6JbLgRoI6TGXH+7wCjDUMN03 Zr6w== X-Gm-Message-State: AOAM530uptShst+tYoX3loVmBlGBduswspp03GA8UgDoSmt2hIPF/QWI wo5BlELeRhlugQAlS1nCpN08TOkoKOTNMw== X-Received: by 2002:aca:adc4:: with SMTP id w187mr1492697oie.153.1598326582277; Mon, 24 Aug 2020 20:36:22 -0700 (PDT) Received: from Davids-MacBook-Pro.local ([2601:282:803:7700:12c:2110:d2ae:4b39]) by smtp.googlemail.com with ESMTPSA id 22sm71587oin.26.2020.08.24.20.36.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Aug 2020 20:36:21 -0700 (PDT) Subject: Re: [PATCH 1/3] libnetlink: add rtattr_for_each_nested() iteration macro To: Johannes Berg , linux-wireless@vger.kernel.org, Stephen Hemminger , netdev@vger.kernel.org References: <20200824175108.53101-1-johannes@sipsolutions.net> From: David Ahern Message-ID: <5b6ed1d7-ff05-50e7-2194-3a59b799c014@gmail.com> Date: Mon, 24 Aug 2020 21:36:20 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200824175108.53101-1-johannes@sipsolutions.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 8/24/20 11:51 AM, Johannes Berg wrote: > This is useful for iterating elements in a nested attribute, > if they're not parsed with a strict length limit or such. > > Signed-off-by: Johannes Berg > --- > include/libnetlink.h | 5 +++++ > 1 file changed, 5 insertions(+) > applied to iproute2-next. Thanks, Johannes.