Re: [PATCH net-next] net: dsa: mv88e6xxx: lock mutex in port_fdb_dump

2019-06-12 Thread David Miller
From: Vivien Didelot Date: Wed, 12 Jun 2019 12:42:47 -0400 > During a port FDB dump operation, the mutex protecting the concurrent > access to the switch registers is currently held by the internal > mv88e6xxx_port_db_dump and mv88e6xxx_port_db_dump_fid helpers. > > It must be held at the higher

[PATCH net-next] net: dsa: mv88e6xxx: lock mutex in port_fdb_dump

2019-06-12 Thread Vivien Didelot
During a port FDB dump operation, the mutex protecting the concurrent access to the switch registers is currently held by the internal mv88e6xxx_port_db_dump and mv88e6xxx_port_db_dump_fid helpers. It must be held at the higher level in mv88e6xxx_port_fdb_dump which is called directly by DSA throu