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-next>] [day] [month] [year] [list]
Message-Id: <20210720173557.999534-1-vladimir.oltean@nxp.com>
Date:   Tue, 20 Jul 2021 20:35:55 +0300
From:   Vladimir Oltean <vladimir.oltean@....com>
To:     netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
        "David S. Miller" <davem@...emloft.net>
Subject: [PATCH net-next 0/2] Fixes for the switchdev FDB fan-out helpers

Hi,

There are already two fixes for the newly added helpers to multiply a
switchdev FDB add/del event times the number of lower interfaces of a
bridge. These are:

(1) the shim definition of switchdev_handle_fdb_del_to_device() is
    broken, as reported by the kernel test robot.
(2) while checking where switchdev_handle_fdb_del_to_device() is called
    from, I realized it is called once from where it shouldn't, aka from
    __switchdev_handle_fdb_del_to_device(). That shouldn't happen,
    instead that function should recurse into itself directly.

Vladimir Oltean (2):
  net: switchdev: remove stray semicolon in
    switchdev_handle_fdb_del_to_device shim
  net: switchdev: recurse into __switchdev_handle_fdb_del_to_device

 include/net/switchdev.h   | 2 +-
 net/switchdev/switchdev.c | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ