summaryrefslogtreecommitdiff
path: root/net/sunrpc/svcsock.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-04-08 19:40:08 (GMT)
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-04-23 20:13:43 (GMT)
commitf97c650dda24e48405399aa0676e90da52408515 (patch)
tree9bb7d41c05ff8377cad7048b45fa900262688142 /net/sunrpc/svcsock.c
parent06e02d66fa0055230efc2443c43ee4f3ab5eb0b6 (diff)
downloadlinux-fsl-qoriq-f97c650dda24e48405399aa0676e90da52408515.tar.xz
NLM: don't let lockd exit on unexpected svc_recv errors (try #2)
When svc_recv returns an unexpected error, lockd will print a warning and exit. This problematic for several reasons. In particular, it will cause the reference counts for the thread to be wrong, and can lead to a potential BUG() call. Rather than exiting on error from svc_recv, have the thread do a 1s sleep and then retry the loop. This is unlikely to cause any harm, and if the error turns out to be something temporary then it may be able to recover. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/sunrpc/svcsock.c')
0 files changed, 0 insertions, 0 deletions