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: <20210925191307.qoon6iz32gep6st7@skbuf> Date: Sat, 25 Sep 2021 19:13:08 +0000 From: Vladimir Oltean <vladimir.oltean@....com> To: Xiaoliang Yang <xiaoliang.yang_1@....com> CC: "davem@...emloft.net" <davem@...emloft.net>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "allan.nielsen@...rochip.com" <allan.nielsen@...rochip.com>, "joergen.andreasen@...rochip.com" <joergen.andreasen@...rochip.com>, "UNGLinuxDriver@...rochip.com" <UNGLinuxDriver@...rochip.com>, "vinicius.gomes@...el.com" <vinicius.gomes@...el.com>, "michael.chan@...adcom.com" <michael.chan@...adcom.com>, "vishal@...lsio.com" <vishal@...lsio.com>, "saeedm@...lanox.com" <saeedm@...lanox.com>, "jiri@...lanox.com" <jiri@...lanox.com>, "idosch@...lanox.com" <idosch@...lanox.com>, "alexandre.belloni@...tlin.com" <alexandre.belloni@...tlin.com>, "kuba@...nel.org" <kuba@...nel.org>, Po Liu <po.liu@....com>, Leo Li <leoyang.li@....com>, "f.fainelli@...il.com" <f.fainelli@...il.com>, "andrew@...n.ch" <andrew@...n.ch>, "vivien.didelot@...il.com" <vivien.didelot@...il.com>, Claudiu Manoil <claudiu.manoil@....com>, "linux-mediatek@...ts.infradead.org" <linux-mediatek@...ts.infradead.org>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>, "matthias.bgg@...il.com" <matthias.bgg@...il.com>, "horatiu.vultur@...rochip.com" <horatiu.vultur@...rochip.com> Subject: Re: [PATCH v5 net-next 1/9] net: mscc: ocelot: serialize access to the MAC table On Fri, Sep 24, 2021 at 05:52:18PM +0800, Xiaoliang Yang wrote: > From: Vladimir Oltean <vladimir.oltean@....com> > > DSA would like to remove the rtnl_lock from its > SWITCHDEV_FDB_{ADD,DEL}_TO_DEVICE handlers, and the felix driver uses > the same MAC table functions as ocelot. > > This means that the MAC table functions will no longer be implicitly > serialized with respect to each other by the rtnl_mutex, we need to add > a dedicated lock in ocelot for the non-atomic operations of selecting a > MAC table row, reading/writing what we want and polling for completion. > > Signed-off-by: Vladimir Oltean <vladimir.oltean@....com> > --- This patch needs your sign-off too.
Powered by blists - more mailing lists