opnsense-src/sys/nlm
Konstantin Belousov 04b49c9154 Remote and local adv lock servers might de-synchronize (the added comment
explains the plausible scenario), resulting in EDEADLK returned on the
local registration attempt.  Handle this by re-trying the local op [1].

On unmount, local registration abort is indicated as EINTR, abort the nlm
call as well.

Reported and tested by:	pho
Suggested and reviewed by:	dfr (previous version, [1])
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Approved by:	re (delphij)
2016-06-19 18:32:35 +00:00
..
nlm.h Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
nlm_advlock.c Remote and local adv lock servers might de-synchronize (the added comment 2016-06-19 18:32:35 +00:00
nlm_prot.h Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
nlm_prot_clnt.c Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
nlm_prot_impl.c Remove slightly used const values that can be replaced with nitems(). 2016-04-21 15:38:28 +00:00
nlm_prot_server.c Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
nlm_prot_svc.c Don't call svc_freereq() before svc_freeargs(). 2008-11-12 15:30:30 +00:00
nlm_prot_xdr.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00
sm_inter.h
sm_inter_xdr.c Minor changes to improve compatibility with older FreeBSD releases. 2008-03-28 09:50:32 +00:00