Roland Dreier wrote:
Haven't looked closely... could you provide commentatry on why dropping
the lock is safe here? No chance of racing against something else?
Anyway -ENOCHANGELOG
- R.
Sorry Roland. I'll add a changelog and repost.
The reason its ok to release the lock around the provide reject() call:
1) the provider will do nothing with this endpoint until the iwcm either
accepts or rejects.
2) the lock is only released after the iwcm state is changed, so an
errant iwcm user that is destroying -and- rejecting the connection
concurrently will get a failure on one of the calls.
Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html