commit | 6117561e1bb30b2fe7f51e1961f34dbedd0bec8a | [log] [tgz] |
---|---|---|
author | Michal Kalderon <michal.kalderon@marvell.com> | Thu Jun 13 11:29:40 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 14 19:23:30 2019 -0700 |
tree | 1450c8fa6cec6f9c96ce14b049959a4d6d2d8d9c | |
parent | 1086ca3a63a3af6b8a722fff55da46f111bc40ee [diff] |
qed: iWARP - Use READ_ONCE and smp_store_release to access ep->state Destroy QP waits for it's ep object state to be set to CLOSED before proceeding. ep->state can be updated from a different context. Add smp_store_release/READ_ONCE to synchronize. Fixes: fc4c6065e661 ("qed: iWARP implement disconnect flows") Signed-off-by: Ariel Elior <ariel.elior@marvell.com> Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>