Home
last modified time | relevance | path

Searched hist:d275880a (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/sunrpc/
H A Dxprtsock.cd275880a Mon May 17 07:50:11 CDT 2021 Trond Myklebust <trond.myklebust@hammerspace.com> SUNRPC: Fix Oops in xs_tcp_send_request() when transport is disconnected

If a disconnection occurs while we're trying to reply to a server
callback, then we may end up calling xs_tcp_send_request() with a NULL
value for transport->inet, which trips up the call to
tcp_sock_set_cork().

Fixes: d737e5d41870 ("SUNRPC: Set TCP_CORK until the transmit queue is empty")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>