diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2015-08-03 09:17:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-03 15:46:09 -0700 |
commit | 24751e29fe313105c9dd5f9d1f27028c553381f6 (patch) | |
tree | 7d33adae616121265e969337ea9f0eea853813f9 /net/sched/act_bpf.c | |
parent | e44deb2f0cce9183ca94d14effd4170a35eec31d (diff) | |
download | linux-24751e29fe313105c9dd5f9d1f27028c553381f6.tar.bz2 |
net: dsa: mv88e6xxx: call _mv88e6xxx_stats_wait with SMI lock held
At switch setup, _mv88e6xxx_stats_wait was called without holding the
SMI mutex. Fix this by requesting the lock for this call.
Also, return the _mv88e6xxx_stats_wait code, since it may fail.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_bpf.c')
0 files changed, 0 insertions, 0 deletions