[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <75a38832-b638-a95a-7ba7-f144cd05d978@nvidia.com>
Date: Sat, 16 Oct 2021 14:56:00 +0300
From: Nikolay Aleksandrov <nikolay@...dia.com>
To: Kyungrok Chung <acadx0@...il.com>,
Marek Lindner <mareklindner@...mailbox.ch>,
Simon Wunderlich <sw@...onwunderlich.de>,
Antonio Quartulli <a@...table.cc>,
Sven Eckelmann <sven@...fation.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Roopa Prabhu <roopa@...dia.com>,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>,
Florian Westphal <fw@...len.de>
Cc: b.a.t.m.a.n@...ts.open-mesh.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bridge@...ts.linux-foundation.org,
netfilter-devel@...r.kernel.org, coreteam@...filter.org
Subject: Re: [PATCH v3 net-next] net: make use of helper
netif_is_bridge_master()
On 16/10/2021 14:21, Kyungrok Chung wrote:
> Make use of netdev helper functions to improve code readability.
> Replace 'dev->priv_flags & IFF_EBRIDGE' with netif_is_bridge_master(dev).
>
> Signed-off-by: Kyungrok Chung <acadx0@...il.com>
> ---
>
> v1->v2:
> - Apply fixes to batman-adv, core too.
>
> v2->v3:
> - Fix wrong logic.
>
> net/batman-adv/multicast.c | 2 +-
> net/bridge/br.c | 4 ++--
> net/bridge/br_fdb.c | 6 +++---
> net/bridge/br_if.c | 2 +-
> net/bridge/br_ioctl.c | 2 +-
> net/bridge/br_mdb.c | 4 ++--
> net/bridge/br_netfilter_hooks.c | 2 +-
> net/bridge/br_netlink.c | 4 ++--
> net/core/rtnetlink.c | 2 +-
> 9 files changed, 14 insertions(+), 14 deletions(-)
>
LGTM,
Reviewed-by: Nikolay Aleksandrov <nikolay@...dia.com>
Powered by blists - more mailing lists