diff options
| author | Ariel Nahum <[email protected]> | 2014-05-22 08:00:19 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2014-05-26 15:19:48 +0000 |
| commit | 66d4e62d27875f3ae417e3b73396e290bb184b5c (patch) | |
| tree | 8c6390d7bbd438ffbf2ab0001a426ba2bd8a8602 /fs/nfs/filelayout/filelayoutdev.c | |
| parent | IB/iser: Simplify connection management (diff) | |
| download | kernel-66d4e62d27875f3ae417e3b73396e290bb184b5c.tar.gz kernel-66d4e62d27875f3ae417e3b73396e290bb184b5c.zip | |
IB/iser: Fix a possible race in iser connection states transition
In some circumstances (multiple targets), RDMA_CM ESTABLISHED event
and ep_disconnect may race. In this case, the iser connection state
may transition to UP (after ep_disconnect transitioned it to
TERMINATING), while the connection is being torn down.
Upon RDMA_CM event ESTABLISHED we allow iser connection state to
transition to UP only from PENDING. We also make sure to protect this
state change (done under the connection lock).
Signed-off-by: Ariel Nahum <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Or Gerlitz <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'fs/nfs/filelayout/filelayoutdev.c')
0 files changed, 0 insertions, 0 deletions
