Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tipc: change lock_sock order in connect()
Instead of reaquiring the socket lock and taking the normal exit path when a connection times out, we bail out early with a return -ETIMEDOUT. Reviewed-by: Jon Maloy <[email protected]> Reviewed-by: Erik Hugne <[email protected]> Signed-off-by: Wang Weidong <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information