opnsense-src/sys/rpc
Rick Macklem 9f4b854c02 clnt_vc.c: Replace msleep() with pause() to avoid assert panic
An msleep() in clnt_vc.c used a global "fake_wchan" wchan argument
along with the mutex in a CLIENT structure.  As such, it was
possible to use different mutexes for the same wchan and
cause a panic assert.  Since this is in a rarely executed code
path, the assert panic was only recently observed.

Since "fake_wchan" never gets a wakeup, this msleep() can
be replaced with a pause() to avoid the panic assert,
which is what this patch does.

(cherry picked from commit 82512c17ea)
2022-10-17 16:38:39 -07:00
..
rpcsec_gss rpc: Make function tables const 2021-08-21 12:10:31 -04:00
rpcsec_tls mbuf: Only allow extpg mbufs if the system has a direct map 2021-11-29 20:34:54 -05:00
auth.h rpc: Delete AUTH_NEEDS_TLS(_MUTUAL_HOST) auth_stat values 2021-12-29 17:23:30 -08:00
auth_none.c Adjust authnone_create() definition to avoid clang 15 warning 2022-07-27 21:16:23 +02:00
auth_unix.c rpc: Make function tables const 2021-08-21 12:10:31 -04:00
authunix_prot.c
clnt.h rpc: Make function tables const 2021-08-21 12:10:31 -04:00
clnt_bck.c rpc: Make function tables const 2021-08-21 12:10:31 -04:00
clnt_dg.c rpc: Make function tables const 2021-08-21 12:10:31 -04:00
clnt_rc.c rpc: Make function tables const 2021-08-21 12:10:31 -04:00
clnt_stat.h
clnt_vc.c clnt_vc.c: Replace msleep() with pause() to avoid assert panic 2022-10-17 16:38:39 -07:00
getnetconfig.c
krpc.h nfsv4 client: do the BindConnectionToSession as required 2021-04-29 17:43:50 -07:00
netconfig.h
nettype.h
pmap_prot.h
replay.c
replay.h
rpc.h
rpc_callmsg.c
rpc_com.h
rpc_generic.c Add TLS support to the kernel RPC. 2020-08-22 03:57:55 +00:00
rpc_msg.h
rpc_prot.c Move M_RPC malloc type into XDR. Both RPC and XDR libraries use 2020-04-17 06:02:13 +00:00
rpcb_clnt.c Adjust local_rpcb() definition to avoid clang 15 warning 2022-07-27 21:17:23 +02:00
rpcb_clnt.h
rpcb_prot.c
rpcb_prot.h
rpcm_subs.h
rpcsec_gss.h
rpcsec_tls.h Add a new "tlscertname" NFS mount option. 2020-12-23 13:42:55 -08:00
svc.c nfsd: fix a NFSv4.1 Linux client mount stuck in CLOSE_WAIT 2021-05-10 18:12:21 -07:00
svc.h Fix a common typo in source code comments 2021-09-07 09:24:05 +02:00
svc_auth.c rpc(3): Fix two typos in source code comments 2022-04-09 08:17:17 +02:00
svc_auth.h
svc_auth_unix.c
svc_dg.c rpc: Make function tables const 2021-08-21 12:10:31 -04:00
svc_generic.c
svc_vc.c svc_vc_rendezvous_stat: eliminiate write only variable stat 2022-10-01 22:25:57 -06:00
types.h
xdr.h