mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
* Combine dg_fd_locks and dg_cv into one array. * Similarly for vc_fd_locks and vc_cv * Turn some macros into inline functions This is a mostly cosmetic change to make refactoring these strutures in a future commit easier. Sponsored by: Axcient Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D42597 (cherry picked from commit a5c2f4e939430f0048136c39fb9fa6093d401905) lib/libc/rpc: switch the per-fd structs in clnt_{dg,vc}.c to RB Trees This saves oodles of memory, especially when "ulimit -n" is large. It also prevents a buffer overflow if getrlimit should fail. Also replace per-fd condvars with mutexes to simplify the code. PR: 274968 Sponsored by: Axcient Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D42597 (cherry picked from commit 24938f9311c9c9acc1ce747f4e6a088c2dbc967d) |
||
|---|---|---|
| .. | ||
| auth.h | ||
| auth_des.h | ||
| auth_kerb.h | ||
| auth_unix.h | ||
| clnt.h | ||
| clnt_soc.h | ||
| clnt_stat.h | ||
| des.h | ||
| des_crypt.h | ||
| Makefile | ||
| Makefile.depend | ||
| nettype.h | ||
| pmap_clnt.h | ||
| pmap_prot.h | ||
| pmap_rmt.h | ||
| raw.h | ||
| rpc.h | ||
| rpc_com.h | ||
| rpc_msg.h | ||
| rpcb_clnt.h | ||
| rpcb_prot.x | ||
| rpcent.h | ||
| rpcsec_gss.h | ||
| svc.h | ||
| svc_auth.h | ||
| svc_dg.h | ||
| svc_soc.h | ||
| xdr.h | ||