lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b4f379a4-b883-d903-148b-a6270aedce20@blackwall.org>
Date:   Tue, 14 Mar 2023 14:24:40 +0200
From:   Nikolay Aleksandrov <razor@...ckwall.org>
To:     Ido Schimmel <idosch@...dia.com>, netdev@...r.kernel.org,
        bridge@...ts.linux-foundation.org
Cc:     davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
        edumazet@...gle.com, roopa@...dia.com, petrm@...dia.com,
        mlxsw@...dia.com
Subject: Re: [PATCH net-next 08/11] vxlan: mdb: Add an internal flag to
 indicate MDB usage

On 13/03/2023 16:53, Ido Schimmel wrote:
> Add an internal flag to indicate whether MDB entries are configured or
> not. Set the flag after installing the first MDB entry and clear it
> before deleting the last one.
> 
> The flag will be consulted by the data path which will only perform an
> MDB lookup if the flag is set, thereby keeping the MDB overhead to a
> minimum when the MDB is not used.
> 
> Another option would have been to use a static key, but it is global and
> not per-device, unlike the current approach.
> 
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> ---
>  drivers/net/vxlan/vxlan_mdb.c | 7 +++++++
>  include/net/vxlan.h           | 1 +
>  2 files changed, 8 insertions(+)
> 

Reviewed-by: Nikolay Aleksandrov <razor@...ckwall.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ