summaryrefslogtreecommitdiff
path: root/sys/nfs/krpc_subr.c
AgeCommit message (Collapse)Author
2008-06-10Remove redundant code that only leaked an mbuf.Bret Lambert
ok krw@, deraadt@, thib@ earlier commit for some reason did not go through prodded by nfs buddy
2008-06-09Introduce a facility to generate unpredictable 32 bit numbers withDamien Miller
near maximal (2^32) cycle times. These are useful for network IDs in cases where there are negative consequences to ID prediction and/or reuse. Use the idgen32() functions to generate IPv6 IDs and NFS client/server XIDs. Pseudorandom permutation code in crypto/idgen.c based on public domain skip32.c from Greg Rose. feedback & ok thib@ deraadt@
2008-05-23Deal with the situation when TCP nfs mounts timeout and processesThordur I. Bjornsson
get hung in nfs_reconnect() because they do not have the proper privilages to bind to a socket, by adding a struct proc * argument to sobind() (and the *_usrreq() routines, and finally in{6}_pcbbind) and do the sobind() with proc0 in nfs_connect. OK markus@, blambert@. "go ahead" deraadt@. Fixes an issue reported by bernd@ (Tested by bernd@). Fixes PR5135 too.
2007-02-27clarify RPC timeout messages so regular people can understand; ok variousTheo de Raadt
2004-11-18enable receive() accounting and use uio_procp for send() accounting, tooMarkus Friedl
ok deraadt, jared, djm
2001-11-14allow swaples diskless configs; deradt@ okMichael Shalayeff
2001-06-27recieve -> receiveNathan Binkert
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
1998-02-28krpc_call() should use random reserved portsTheo de Raadt
1998-02-23do not copy from past end of mbuf; found by ivanTheo de Raadt
1997-04-27Randomize RPC xid.Angelos D. Keromytis
1997-04-25XXX should do reserved portsTheo de Raadt
1996-06-10do not lose an mbuf, ensure MCLGET did not give a chainTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-17Minor cleanups. Checked against Lite2.Michael Shalayeff
(NetBSD's was really just a Lite2's, but w/ 64bit support)
1995-12-21from cgd; handle 64-bit pointers and longsTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt