lkml.org 
[lkml]   [2008]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC] [PATCH] dlm: tcp_connect_to_sock should check for -EINVAL, not EINVAL
    Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
    Cc: Christine Caulfield <ccaulfie@redhat.com>
    Cc: David Teigland <teigland@redhat.com>
    Cc: cluster-devel@redhat.com
    ---
    it's probably a typo, but I'm not sure
    please check if it's the right fix (maybe this condition should be dropped?)
    (compile tested only)
    ---
    fs/dlm/lowcomms.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
    --- a/fs/dlm/lowcomms.c
    +++ b/fs/dlm/lowcomms.c
    @@ -930,7 +930,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;
    --

    \
     
     \ /
      Last update: 2008-05-11 22:05    [W:0.020 / U:4.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site