aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec/xform_esp.c
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2011-04-27 18:19:26 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2011-04-27 18:19:26 +0000
commit7b67bd9f3dcc59ca1721363afab513cb993e77f9 (patch)
treeee0c9845f07e58264646801249ae55250ef3edae /sys/netipsec/xform_esp.c
parent4d2ede67985020a26d980f6cfbd37bae0f59ce34 (diff)
downloadsrc-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