Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp356529pxj; Thu, 13 May 2021 06:37:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQU+WgmepBdt0P8Uxe/rxcGUH6wzOqOrMaxlzOwVulCT658hI1ABCPz1M36+H0ShrX/EsW X-Received: by 2002:a05:6402:354b:: with SMTP id f11mr51608041edd.139.1620913032445; Thu, 13 May 2021 06:37:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620913032; cv=none; d=google.com; s=arc-20160816; b=dW7hmmg8Ru9hzkqKkTL5hQ1bwX1NICwLY6UFC5UvbaRogWnKK64LIsarWqO/W9mGLD 7R1aorPlUQxQbUXXt2tP6vRsgWXoet6wVDBla+rLJJUabJu1HrRzQwl/5rjXNJiNthfB 4GDCy/wYkL6hn+QsXhI4cugnjMJrNHu5v1eVcOHFsm5+sPWyQTXM3W+l5cPLWS6/diZY qxE9/u723paqKDHnLlWds8acXbgI5bz1tE/6ulitJq//oQRudSJQm/WBX1jV7XIoqCti UJrnXOnqXYkXcgmQRY6H512xR0U4m3U1LgnjEhN0V4iRo7xZKdZcoXYBQ5Q8F6gcu9Me cqQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=USmp6el16CuZX35BRaiiyDJHW2UnhFE3X81SQEdBUZA=; b=SxNTeaT/f6p/8MTIgBDTkICCRzXUIpKxmsZubUForL+Cifbuo+QvSb8WpetjNhjq5F 7skQjiNKeAbw1EjRsdu+ndB3BOsm9MlQVoU1+EjpE+E/Jugg2rizWef0zO1b7umNn72I zRYTgaF3efgJcPF4gC3OshYEntkYTCPASBZ/YFa4NqqZYOBswXdVRO9bJJkHrugIkR4s apJNJWpSg8Cw3TNrAyyb6CEkNhyXr21LG8Y1htAbJdy+QU0GYrxpMEwZ1SR4Hy+n6fWe Pr4riYNYtZWfyGljpwHK9dvs3/HdKREeyKQCz4BtfJeF7/sqKwY8MAkaAPkOZp2GT1KF MW6g== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t12si2946088eje.621.2021.05.13.06.36.47; Thu, 13 May 2021 06:37:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233992AbhEMNfw (ORCPT + 99 others); Thu, 13 May 2021 09:35:52 -0400 Received: from mail.aperture-lab.de ([116.203.183.178]:56756 "EHLO mail.aperture-lab.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233997AbhEMNfj (ORCPT ); Thu, 13 May 2021 09:35:39 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 464743E8F5; Thu, 13 May 2021 15:34:26 +0200 (CEST) Date: Thu, 13 May 2021 15:34:24 +0200 From: Linus =?utf-8?Q?L=C3=BCssing?= To: Nikolay Aleksandrov Cc: netdev@vger.kernel.org, Roopa Prabhu , Jakub Kicinski , "David S . Miller" , bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3 00/11] net: bridge: split IPv4/v6 mc router state and export for batman-adv Message-ID: <20210513133423.GB2222@otheros> References: <20210512231941.19211-1-linus.luessing@c0d3.blue> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Last-TLS-Session-Version: TLSv1.2 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 13, 2021 at 03:02:13PM +0300, Nikolay Aleksandrov wrote: > Nice work overall, thank you. I hope it was tested well. :) > It'd be great if later you could add some selftests. > > Cheers, > Nik Hi Nikolay, I think I found a way now to better deal with the protocol specific hlist_for_each_entry(), by using hlist_for_each() and a helper function, to reduce the duplicate code with br_{ip4,ip6}_multicast_get_rport_slot() as you suggested (and also removing duplicate code with br_{ip4,ip6}_multicast_mark_router()) and reworked patches 7 and 9 a bit for that... Sorry for the inconvience and my bad timing with your reviews. But thanks a lot for all your valuable feedback! Also netdevbpf patchwork had a few more remarks, they should hopefully be fixed now, too. Regards, Linus