lkml.org 
[lkml]   [2018]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 52/86] SUNRPC: Allow connect to return EHOSTUNREACH
    Date
    4.9-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Trond Myklebust <trond.myklebust@primarydata.com>


    [ Upstream commit 4ba161a793d5f43757c35feff258d9f20a082940 ]

    Reported-by: Dmitry Vyukov <dvyukov@google.com>
    Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
    Tested-by: Dmitry Vyukov <dvyukov@google.com>
    Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
    Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    net/sunrpc/xprtsock.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/net/sunrpc/xprtsock.c
    +++ b/net/sunrpc/xprtsock.c
    @@ -2381,6 +2381,7 @@ static void xs_tcp_setup_socket(struct w
    case -ECONNREFUSED:
    case -ECONNRESET:
    case -ENETUNREACH:
    + case -EHOSTUNREACH:
    case -EADDRINUSE:
    case -ENOBUFS:
    /* retry with existing socket, after a delay */

    \
     
     \ /
      Last update: 2018-02-02 19:12    [W:3.771 / U:0.312 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site