diff options
| author | 2019-06-12 12:42:47 -0400 | |
|---|---|---|
| committer | 2019-06-12 10:50:54 -0700 | |
| commit | fcf15367cbd90e5fd6f69d73a1d512fbb7ca2748 (patch) | |
| tree | 63f42899de4a27a495bd375218b914c52d735f13 /include/linux | |
| parent | dt-bindings: net: wiznet: add w5x00 support (diff) | |
net: dsa: mv88e6xxx: lock mutex in port_fdb_dump
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 through ds->ops->port_fdb_dump. Fix this.
Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
