1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/rpc
Rick Macklem 2a1e0fb436 Fix a bug in the client side krpc where it was, sometimes
erroneously, assumed that 4 bytes of data were in the first
mbuf of a list by replacing the bcopy() with m_copydata().
Also, replace the uses of m_pullup(), which can fail for
reasons other than not enough data, with m_copydata().
For the cases where it isn't known that there is enough
data in the mbuf list, check first via m_len and m_length().
This is believed to fix a problem reported by dpd at dpdtech.com
and george+freebsd at m5p.com.

Reviewed by:	jhb
MFC after:	8 days
2011-01-10 21:35:10 +00:00
..
rpcsec_gss
auth_none.c
auth_unix.c
auth.h
authunix_prot.c
clnt_dg.c Fix a bug in the client side krpc where it was, sometimes 2011-01-10 21:35:10 +00:00
clnt_rc.c
clnt_stat.h
clnt_vc.c Fix a bug in the client side krpc where it was, sometimes 2011-01-10 21:35:10 +00:00
clnt.h
getnetconfig.c
netconfig.h
nettype.h
pmap_prot.h
replay.c - Check the result of malloc(M_NOWAIT) in replay_alloc(). The caller 2010-08-26 23:33:04 +00:00
replay.h
rpc_callmsg.c
rpc_com.h Make the RPC specific __rpc_inet_ntop() and __rpc_inet_pton() general 2010-09-24 15:01:45 +00:00
rpc_generic.c Fix the krpc so that it can handle NFSv3,UDP mounts with a read/write 2010-10-13 00:57:14 +00:00
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
svc_auth_unix.c
svc_auth.c
svc_auth.h
svc_dg.c
svc_generic.c
svc_vc.c Fix a bug in the client side krpc where it was, sometimes 2011-01-10 21:35:10 +00:00
svc.c
svc.h
types.h
xdr.h