Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp290202pxj; Thu, 13 May 2021 05:09:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBbzjXlRj/xyxAsJON4qe8kFUkjtAosGc23GSHRFLZOHy/5AztNySGwo7r+XSxo7bi9Lti X-Received: by 2002:a17:906:a20b:: with SMTP id r11mr43726801ejy.323.1620907751293; Thu, 13 May 2021 05:09:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1620907751; cv=pass; d=google.com; s=arc-20160816; b=FCx/iXTwhlxrCS3wbxNMJ07OdejYNmt0fqYS1OcwQy2nz7pv5WVHHdEi4uc6QQgX85 MZcHwLe1X1M/Oe5YVPU6qxJXiXvldlZkS3ySiqq5alLnsDckEEKxNVxranko5BDV8Tbq kO3D5SxjojoiimguLnmyNvnO+/MniM8dG8gVHOi/VyU5DmByfzOT47PNSnIxb6VkxOXx tTUUGEbG3M7nURBpxGGmprQ+eAx7EBSN8QZBqOeVXUAjpOe5najJQ5s1+c2CaUbANN66 zmLA4qY+CEiKKQMa/FhQidlQzTAz9qcP8ullOwH8PvWouj5gH3ETJhFDeth7yng0RAC7 MRQA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:from :references:cc:to:subject:dkim-signature; bh=qqw89t/M2amB8SM1NnWj1eHg5nIHze4lql2eXRdnFXE=; b=F814dA7c+60JUGK+meP4TIImU1C/0xsDZO/uUICzfKIjwDU64UfkDSCADn8RcSZ8Sf uWUlUGPwLv+irV2MiLvIO8CjQqkW6K7R2u+tOTvxNIqYFV1oWwLeBk9N1SjmXS3CXskl +RYzJ36iVKFNfz0EWcAKAnDX37tk/1/hKU13h9wS7QRJDdb/EvOjx9w8DUG36M1LZmX/ O6stvTvHy/XpXQfNjpX3SOBc07vwZAXyYEC/tN5jzd5WlctvdvZ/rD975PQtkuxqdiD9 kYDP0zYR+iY85RSz+2OkcTsEdWWgjEX3omuXqJl4UVSGMGpLYVevDJre7rjAe+oOK4AB 8eIA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=Oq1eobls; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z62si3442645ede.508.2021.05.13.05.08.46; Thu, 13 May 2021 05:09:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@Nvidia.com header.s=selector2 header.b=Oq1eobls; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233361AbhEMLav (ORCPT + 99 others); Thu, 13 May 2021 07:30:51 -0400 Received: from mail-dm6nam11on2045.outbound.protection.outlook.com ([40.107.223.45]:41344 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233352AbhEMLau (ORCPT ); Thu, 13 May 2021 07:30:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YYdMYmFcxLoojN6vfbpiezWS46bEh3XyiEDrlNaEnyr3MqDnvj/Gxz/BAZNJeLyiUDsWyMr8hCfBssakulpz/usFf2Q1icTOglPwsUeVtVBoV5/txNlJIz+TwqxFocEWOGpI6j+o9Dia1WbPjf0ct4vLuWh5exqdR3xUG0wcpbaA7DjxD9Q7Vq913g5v4kGOivzcJdN2vrGJZuqJJWxfzIb2JML45+CSzz4/KKQekJMaiGUnkDno190M54OjUJyCEMrodPcbDTD01JNjG6G97WGbrSr+DxmRoZwhbfUn+9V7P3cAFn7k3KbIY+Pf/C8TMcmgnhWkf/4qMq5JAfs8CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qqw89t/M2amB8SM1NnWj1eHg5nIHze4lql2eXRdnFXE=; b=MTyEHKw7YKgjgbXsIdiI7RNTipZvfbHrRoAR519TRtB+ZslHVZzJnq+BDSNWf1PWjySX1SptK0PCoc70uH+cw/8QSq09yJ9GpzXXutf8Ieec7/5xASVS+VSpKLkDqow0iJ9Ej0wo7EfEIvVtxydH5TBxpRhVEuQb70QQiAaxYO5Sr2Xx+oo+faT0BspEqWJBMjjPqGwTZa30ozZR221d3+L0rbb9Rh7jFhDnfEidWJQJEtAy/AREMCADuFUtvyfpVUEgS/Rprpy8jgEK/EQzilJtV74AK3jR6DEvO5eqBLRzUlw911GmT0hEVE/FPtisalJKErBCQ6v/FqLrz9HeWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qqw89t/M2amB8SM1NnWj1eHg5nIHze4lql2eXRdnFXE=; b=Oq1eobls9WCOlI5DntjoVqsp45in985ctRgF7lkFOJa8WcxwCf+ovK48Cvs9MgVCrJfbKA4q92aqZ0tp45Ck5G1T4Ksdp3vpSSkQEEqeVjbqNQPmeLI2ePw61zo/BcaOC4wFLO1DSuf5qUQ9qxK35x4tAAz4BYHXLMg5euDL8s2DktnA78Kz5BDhRG9oCV4vZPdeh/VvmOU+xGTTseW9rKz17gFQyDJ0woAzTPVG2lKXcSwOezYRzVQB//QiEIavZaW/16arkW0CGG8IK1d9d9QX5l4M1MfNwqysfOzMKNXJB21O48+vh+UPUvZVdPsyqGGdZ0inKwvw8gfdtwc4/g== Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nvidia.com; Received: from DM4PR12MB5278.namprd12.prod.outlook.com (2603:10b6:5:39e::17) by DM8PR12MB5399.namprd12.prod.outlook.com (2603:10b6:8:34::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Thu, 13 May 2021 11:29:40 +0000 Received: from DM4PR12MB5278.namprd12.prod.outlook.com ([fe80::d556:5155:7243:5f0f]) by DM4PR12MB5278.namprd12.prod.outlook.com ([fe80::d556:5155:7243:5f0f%6]) with mapi id 15.20.4129.026; Thu, 13 May 2021 11:29:40 +0000 Subject: Re: [net-next v3 02/11] net: bridge: mcast: add wrappers for router node retrieval To: =?UTF-8?Q?Linus_L=c3=bcssing?= , netdev@vger.kernel.org Cc: Roopa Prabhu , Jakub Kicinski , "David S . Miller" , bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org References: <20210512231941.19211-1-linus.luessing@c0d3.blue> <20210512231941.19211-3-linus.luessing@c0d3.blue> From: Nikolay Aleksandrov Message-ID: Date: Thu, 13 May 2021 14:29:33 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 In-Reply-To: <20210512231941.19211-3-linus.luessing@c0d3.blue> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [213.179.129.39] X-ClientProxiedBy: ZR0P278CA0150.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:41::14) To DM4PR12MB5278.namprd12.prod.outlook.com (2603:10b6:5:39e::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.21.241.170] (213.179.129.39) by ZR0P278CA0150.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:41::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24 via Frontend Transport; Thu, 13 May 2021 11:29:38 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 937d0778-9812-41f4-436f-08d91602657b X-MS-TrafficTypeDiagnostic: DM8PR12MB5399: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4502; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: okue0vucOiGLhlxjt9TgOaxvUJObuhXmLsaPmeEvCJSSwqLbOVrkT/9N3MUs6HYSUItQOHPm819OQsvVd6zkfzzl2E9Q7LVoQXrl1KEYmX+YeUtt5Gn9O+nJ4UAmumTxw0RiR6x7qiLsezfuSl7Wnn8f2XTuheaWoaGk/MAUbiqwmG8l2f2uE7mfpr41oWH/K7QYVQjAb78syBib0QsJ1TLd2NrxJKvrSuzjylWXxIyu4nhddZxALtvUlU+JhiJW1IqBYWDGwrviAMUDa/fYgtONjOhMr4djdLywsSLHWZs1PMYSfAaRaRv9HVs37DxDj3ikSqmw77tuVbJytNEt0m+6K5+BXNifSy2gZugcBWtBOt48PlOmPE6CcRvrNTXZ9q90WUERd+wfdlpmgwDEXyVC+lUtahJKEoJxg788rC2FsVgaLBYwYPi9t0PP2sffwZz0JcgRPUK1+481oAUg+qvTjfb+bIvQ1YEdPedDCdPQ+yG3+v9vQykQUvurMzLjuXu7ht1ZP1J6sVXVW3gFcUlxLTB9YdRV4pZotgqe9yidWdt5vywaYE1aN3g058ncWefJQCkS/oubx1KQqA3aAVkETqOJ+Igz5O7VAMcabHlcn/UZYw02vpERt+KBOUAxnQQUHGVMxyIcwoncZaK4VGOA26Qwj/qrxLyCzJ/Gl9ezNVgzTSjzL9DZBsOaq6W5 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5278.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(39860400002)(376002)(136003)(346002)(396003)(8676002)(38100700002)(4326008)(26005)(4744005)(6666004)(478600001)(186003)(36756003)(53546011)(2906002)(31686004)(8936002)(6486002)(66946007)(54906003)(16576012)(31696002)(66556008)(83380400001)(86362001)(66574015)(66476007)(316002)(5660300002)(16526019)(956004)(2616005)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?TkZPWklXU2l3UUZDM08wdWlaVm1JTDBHYXRidkFwTXgzeXFqYkg4c0krNG44?= =?utf-8?B?QUs0Mk0rZURPRnhlSXhSUzJLc1FzRGlobDUyTUlBcWNpTnZhVFZ1QU1nclRQ?= =?utf-8?B?b1pjVmE0c1RuMVdFQUthNllCRlR4dWhOOXJCSkI1R3lEaVJUMjNTMWpTTmxZ?= =?utf-8?B?VGlGNWRuUW1kVHVyeHFVeGREWjdNdGQzUlpyOUtjLzFhRW43TlBJSXpocUNK?= =?utf-8?B?SzhoczREZG43K0FxMlJvV21yaS8relFnaGE5NjNPd3ZYRzNRUkVPWVJSN1ZE?= =?utf-8?B?UUJ4YmNoNzUzR1BKWUV0SUd3WDdkNlNSTEVNRUdoLzFsZU9sY2N2Ty9MM2hp?= =?utf-8?B?YkowZ29NK1VWVEZ0VXVBWDZ1UVJWZFZFUDBvc1dBQzVkMm9wczMxMDlISmlT?= =?utf-8?B?d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V2thRVZ3?= =?utf-8?B?cVJUd2YwM2RZWXJCUGhEUS9BQ2l0UGZXQjNRZG9lZUROdTBSVVpyeHFZV0Iy?= =?utf-8?B?Sk5hcUQ5cTMyR1JVOFgvb09LdzNPRWtzaFJzQVc3TVdETDBRVnVtRE9GUTk2?= =?utf-8?B?bDFyT0hmdTE4U1U4VGZ3WnIwYzE5ckFBcUcwektjYmRzQWEybmEzUzh0bXND?= =?utf-8?B?V2VybGFoR1R3OWpkK2ZaNlBHVU5leUtmbjRkVkJUS2k3SkNEajZETWRibTV6?= =?utf-8?B?eExweW9xejkyaitqTi9HdkgyQTRjZ1BNQytDYTgrYit6ZVVFdXgvQXQwd2tB?= =?utf-8?B?bi9XYUpOM1pOcUF0QW5SNGVKUHhXR2ZOU0daaEYrWS8zaU84QkJ3UElqdG43?= =?utf-8?B?NnhpbG9LcEppUVpTYlA2cHA4azAzbnRBOFJLN1VIck9GajIvOERHaGRNcGE4?= =?utf-8?Q?Xpk113SldyxVEmQ9wWl/yy6ytMPHlIg+84G8rw5?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 937d0778-9812-41f4-436f-08d91602657b X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5278.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2021 11:29:39.9342 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9htsO9y75QY4xL62mj759HYVm/mQ4yzLHs0zvBM+jLTOnmgxKD+Tei+QHmUyc0SNj0iSY3TsWmSsnzelaOjHJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5399 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/05/2021 02:19, Linus Lüssing wrote: > In preparation for the upcoming split of multicast router state into > their IPv4 and IPv6 variants and to avoid IPv6 #ifdef clutter later add > two wrapper functions for router node retrieval in the payload > forwarding code. > > Signed-off-by: Linus Lüssing > --- > net/bridge/br_forward.c | 5 +++-- > net/bridge/br_private.h | 10 ++++++++++ > 2 files changed, 13 insertions(+), 2 deletions(-) > Acked-by: Nikolay Aleksandrov