diff options
author | Rick Macklem <rmacklem@FreeBSD.org> | 2011-04-27 18:19:26 +0000 |
---|---|---|
committer | Rick Macklem <rmacklem@FreeBSD.org> | 2011-04-27 18:19:26 +0000 |
commit | 7b67bd9f3dcc59ca1721363afab513cb993e77f9 (patch) | |
tree | ee0c9845f07e58264646801249ae55250ef3edae /sys/netipsec/xform_esp.c | |
parent | 4d2ede67985020a26d980f6cfbd37bae0f59ce34 (diff) | |
download | src-7b67bd9f3dcc59ca1721363afab513cb993e77f9.tar.gz src-7b67bd9f3dcc59ca1721363afab513cb993e77f9.zip |
This patch is believed to fix a problem in the kernel rpc for
non-interruptible NFS mounts, where a kernel thread will seem
to be stuck sleeping on "rpccon". The msleep() in clnt_vc_create()
that was waiting to a TCP connect to complete would return ERESTART,
since PCATCH was specified. Then the tsleep() in clnt_reconnect_call()
would sleep for 1 second and then try again and again and...
The patch changes the msleep() in clnt_vc_create() so it only sets
the PCATCH flag for interruptible cases.
Tested by: pho
Reviewed by: jhb
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=221127
Diffstat (limited to 'sys/netipsec/xform_esp.c')
0 files changed, 0 insertions, 0 deletions