freebsd-src/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 Make options KGSSAPI build and add it to NOTES. 2010-01-08 23:26:10 +00:00
auth.h
auth_none.c
auth_unix.c
authunix_prot.c Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic 2010-01-12 07:49:34 +00:00
clnt.h
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 Fix NFS panics with options VIMAGE kernels by apropriately setting curvnet 2009-08-24 10:09:30 +00:00
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
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.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
rpcb_clnt.c
rpcb_clnt.h
rpcb_prot.c
rpcb_prot.h
rpcm_subs.h
rpcsec_gss.h
svc.c When the regular NFS server replied to a UDP client out of the replay 2010-03-23 23:03:30 +00:00
svc.h Fix two races in the server side krpc w.r.t upcalls: 2009-06-04 14:13:06 +00:00
svc_auth.c Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
svc_auth.h
svc_auth_unix.c Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
svc_dg.c Fix NFS panics with options VIMAGE kernels by apropriately setting curvnet 2009-08-24 10:09:30 +00:00
svc_generic.c Fix NFS panics with options VIMAGE kernels by apropriately setting curvnet 2009-08-24 10:09:30 +00:00
svc_vc.c Fix a bug in the client side krpc where it was, sometimes 2011-01-10 21:35:10 +00:00
types.h
xdr.h fix xdrmem_control to be safe in an if statement 2009-05-30 22:23:58 +00:00