diff options
author | Trond Myklebust <[email protected]> | 2021-05-17 08:50:11 -0400 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2021-05-20 12:17:08 -0400 |
commit | d275880abce9ac66cb842af828fbc2b1ba8082a0 (patch) | |
tree | 26e64b5b8e7d7f5cc8623fb8911e94090d04f895 /drivers/usb/cdns3/cdns3-debug.h | |
parent | a421d218603ffa822a0b8045055c03eae394a7eb (diff) |
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: [email protected]
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions