IB/iser: Protect completion context active_qps update
authorMax Gurtovoy <maxg@mellanox.com>
Wed, 1 Feb 2017 23:55:18 +0000 (01:55 +0200)
committerDoug Ledford <dledford@redhat.com>
Sun, 19 Feb 2017 14:18:31 +0000 (09:18 -0500)
commit32f8e839edebe3310dd077439ce0e9a96e0c2352
tree7556ce243fc4d0c6091547a6476aaf0d5f3fb864
parent192539f4ce36e5b80b9eb1f4ccd759a92eed2ff9
IB/iser: Protect completion context active_qps update

As iser connections can share completion contexts, we need
to protect the active_qps update each time we set it.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iser_verbs.c