diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2019-06-26 16:30:24 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-06 14:54:53 -0400 |
commit | 80d3c45fd765fbf4f10981b60ff6b1384bdbc706 (patch) | |
tree | 492ae6a591e1f276e6b5acb599f921ae8bac4a20 /net/sched/act_ife.c | |
parent | 4368d77a4d985758303a4257c07991c079db7a75 (diff) | |
download | linux-stable-80d3c45fd765fbf4f10981b60ff6b1384bdbc706.tar.gz linux-stable-80d3c45fd765fbf4f10981b60ff6b1384bdbc706.tar.bz2 linux-stable-80d3c45fd765fbf4f10981b60ff6b1384bdbc706.zip |
SUNRPC: Fix possible autodisconnect during connect due to old last_used
Ensure last_used is updated before calling mod_timer inside
xprt_schedule_autodisconnect. This avoids a possible xprt_autoclose
firing immediately after a successful connect when xprt_unlock_connect
calls xprt_schedule_autodisconnect with an old value of last_used.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sched/act_ife.c')
0 files changed, 0 insertions, 0 deletions