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
| ||
|
Message-ID: <6c8e95fc-ce18-08ab-7d6a-cc345a641dc2@blackwall.org> Date: Wed, 13 Apr 2022 01:44:00 +0300 From: Nikolay Aleksandrov <razor@...ckwall.org> To: netdev@...r.kernel.org Cc: dsahern@...nel.org, roopa@...dia.com, idosch@...sch.org, kuba@...nel.org, davem@...emloft.net, bridge@...ts.linux-foundation.org Subject: Re: [PATCH net-next v3 4/8] net: bridge: fdb: add ndo_fdb_del_bulk On 4/12/22 16:22, Nikolay Aleksandrov wrote: > Add a minimal ndo_fdb_del_bulk implementation which flushes all entries. > Support for more fine-grained filtering will be added in the following > patches. > > Signed-off-by: Nikolay Aleksandrov <razor@...ckwall.org> > --- > net/bridge/br_device.c | 1 + > net/bridge/br_fdb.c | 25 ++++++++++++++++++++++++- > net/bridge/br_netlink.c | 2 +- > net/bridge/br_private.h | 6 +++++- > net/bridge/br_sysfs_br.c | 2 +- > 5 files changed, 32 insertions(+), 4 deletions(-) > > diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c > index 8d6bab244c4a..58a4f70e01e3 100644 > --- a/net/bridge/br_device.c > +++ b/net/bridge/br_device.c > @@ -465,6 +465,7 @@ static const struct net_device_ops br_netdev_ops = { > .ndo_fix_features = br_fix_features, > .ndo_fdb_add = br_fdb_add, > .ndo_fdb_del = br_fdb_delete, > + .ndo_fdb_del_bulk = br_fdb_delete_bulk, > .ndo_fdb_dump = br_fdb_dump, > .ndo_fdb_get = br_fdb_get, > .ndo_bridge_getlink = br_getlink, > diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c > index 6ccda68bd473..fd7012c32cd5 100644 > --- a/net/bridge/br_fdb.c > +++ b/net/bridge/br_fdb.c > @@ -559,7 +559,7 @@ void br_fdb_cleanup(struct work_struct *work) > } > > /* Completely flush all dynamic entries in forwarding database.*/ > -void br_fdb_flush(struct net_bridge *br) > +void __br_fdb_flush(struct net_bridge *br) hmm, actually the rename is not really necessary with the new naming
Powered by blists - more mailing lists