freebsd-skq/sys/rpc
Rick Macklem 52cab12c09 Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled.
The code enabled when "DEBUG" is defined uses mem_alloc(), which is a
malloc(.., M_RPC, M_WAITOK | M_ZERO), but then calls gss_release_buffer()
which does a free(.., M_GSSAPI) to free the memory.
This patch fixes the problem by replacing mem_alloc() with a
malloc(.., M_GSSAPI, M_WAITOK | M_ZERO).
This bug affects almost no one, since the sources are not normally built
with "DEBUG" defined.

Submitted by:	peter@ifm.liu.se
MFC after:	2 weeks
2019-04-04 01:23:06 +00:00
..
rpcsec_gss Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled. 2019-04-04 01:23:06 +00:00
auth_none.c
auth_unix.c
auth.h
authunix_prot.c
clnt_bck.c
clnt_dg.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
clnt_rc.c Set SO_SNDTIMEO in the client side krpc when CLSET_TIMEOUT is done. 2018-07-20 12:03:16 +00:00
clnt_stat.h
clnt_vc.c
clnt.h
getnetconfig.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
krpc.h
netconfig.h
nettype.h
pmap_prot.h
replay.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
replay.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
rpc_callmsg.c
rpc_com.h
rpc_generic.c
rpc_msg.h
rpc_prot.c
rpc.h
rpcb_clnt.c
rpcb_clnt.h
rpcb_prot.c
rpcb_prot.h
rpcm_subs.h
rpcsec_gss.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
svc_auth_unix.c
svc_auth.c
svc_auth.h
svc_dg.c
svc_generic.c
svc_vc.c
svc.c Fix the server side krpc so that the kernel nfsd threads terminate. 2018-07-02 17:50:46 +00:00
svc.h
types.h
xdr.h