]> Git Repo - linux.git/commitdiff
dlm: tcp_connect_to_sock should check for -EINVAL, not EINVAL
authorMarcin Slusarz <[email protected]>
Sun, 11 May 2008 20:01:29 +0000 (22:01 +0200)
committerDavid Teigland <[email protected]>
Mon, 19 May 2008 20:37:27 +0000 (15:37 -0500)
Signed-off-by: Marcin Slusarz <[email protected]>
Cc: Christine Caulfield <[email protected]>
Cc: David Teigland <[email protected]>
Cc: [email protected]
Signed-off-by: David Teigland <[email protected]>
fs/dlm/lowcomms.c

index c7d232a9ae1254a8ad03ca4d770bbc0756270d8f..637018c891eff7110620ba3aff2ff9f5e573ec8d 100644 (file)
@@ -931,7 +931,7 @@ out_err:
         * errors we try again until the max number of retries is reached.
         */
        if (result != -EHOSTUNREACH && result != -ENETUNREACH &&
-           result != -ENETDOWN && result != EINVAL
+           result != -ENETDOWN && result != -EINVAL
            && result != -EPROTONOSUPPORT) {
                lowcomms_connect_sock(con);
                result = 0;
This page took 0.048868 seconds and 4 git commands to generate.