summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorLiu Jian <liujian56@huawei.com>2024-11-15 12:38:04 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-11-28 20:55:32 +0300
commit4db9ad82a6c823094da27de4825af693a3475d51 (patch)
tree41bda1bf8f575ae488cf025bc855e775bba74562 /rust/helpers/build_bug.c
parent52cb7f8f177878b4f22397b9c4d2c8f743766be3 (diff)
downloadlinux-4db9ad82a6c823094da27de4825af693a3475d51.tar.xz
sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
Since transport->sock has been set to NULL during reset transport, XPRT_SOCK_UPD_TIMEOUT also needs to be cleared. Otherwise, the xs_tcp_set_socket_timeouts() may be triggered in xs_tcp_send_request() to dereference the transport->sock that has been set to NULL. Fixes: 7196dbb02ea0 ("SUNRPC: Allow changing of the TCP timeout parameters on the fly") Signed-off-by: Li Lingfeng <lilingfeng3@huawei.com> Signed-off-by: Liu Jian <liujian56@huawei.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions