diff options
author | Michal Kalderon <michal.kalderon@marvell.com> | 2019-06-13 11:29:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-14 19:23:30 -0700 |
commit | 6117561e1bb30b2fe7f51e1961f34dbedd0bec8a (patch) | |
tree | 1450c8fa6cec6f9c96ce14b049959a4d6d2d8d9c /crypto | |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions