diff options
author | Amir Vadai <amirv@mellanox.com> | 2014-11-02 16:26:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-03 12:28:13 -0500 |
commit | 0a98455666ec87378148a1dde97f1ce5baf75a64 (patch) | |
tree | bfba09b40f2718ed459973f8673efe5acb3f9d8a /drivers/firmware | |
parent | 6e8066999800d90d52af5c84ac49ebf683d14cdc (diff) | |
download | talos-op-linux-0a98455666ec87378148a1dde97f1ce5baf75a64.tar.gz talos-op-linux-0a98455666ec87378148a1dde97f1ce5baf75a64.zip |
net/mlx4_core: Protect port type setting by mutex
We need to protect set_port_type() for concurrency, as the sysfs code could
call it from mutliple contexts in parallel.
The port_mutex is not enough because we need to protect from concurrent
modification of 'info' and stopping of the port sensing work.
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions