summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_socket.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* This moves access to wall and uptime variables in MI code,tholo2004-06-241-3/+5
| | | | | | | | | | | | | | encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@
* First step towards more sane time handling in the kernel -- this changestholo2004-06-211-5/+5
| | | | | | | | things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
* nfs_reqq is operated at softnet other places and thus softclock is not high enough; tedu@ okmickey2003-12-081-3/+3
|
* unlock on error condition. from Tim Wiess. ok csapuntz@ millert@tedu2003-07-101-4/+6
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Get rid of some commons.art2002-10-291-1/+3
|
* Fix handling of 0-length RPC fragmentscsapuntz2002-08-011-2/+3
|
* Bug/type found by teducsapuntz2002-07-301-2/+2
|
* Remove unused function parameter 'cache' from nfs_repheadnate2002-07-031-3/+2
| | | | ok costa@
* Remove some unused code for dealing with nfs over kerberos. No actual change,hin2002-06-111-17/+1
| | | | | | just some #ifdef'ed out code removed. ok deraadt@, art@ and csapuntz@
* Fix nfs_realign to allocate new mbufs. Taken from freebsdcsapuntz2002-05-171-86/+35
|
* Back out nfs_realign() change, it causes "pool_get: must have NOWAIT" panics.millert2002-04-111-36/+86
| | | | deraadt@ OK
* nfs_realign from FreeBSD. The old code was over-optimized, occasionally overwritingcsapuntz2002-04-101-85/+37
| | | | other parts of a TCP stream, occasionally dereferencing NULL pointers
* First round of __P removal in sysmillert2002-03-141-3/+3
|
* use queue.h macro'sericj2002-01-161-58/+62
| | | | remove register
* Remove NQNFScsapuntz2001-06-251-93/+17
|
* tdbi->tags cleanupsangelos2001-05-201-16/+6
|
* Allow tdbi's to appear in mbufs throughout the stack; this allowsangelos2001-03-281-1/+13
| | | | | | | | | security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs.
* unfortunately, i must undo this patch, since it causes client hangs on sparc machines, and only on them. until more is known, out this comesderaadt2000-08-101-3/+3
|
* fix obvious error, spotted by ericjderaadt2000-08-071-3/+3
|
* Convert nfs_timer to new timeouts.art2000-06-261-9/+10
|
* fix mbuf out-of-bound writes on nfsv2 mounts.itojun2000-01-041-2/+2
| | | | netbsd sys/nfs/nfs_socket.c 1.43 -> 1.44
* When an NFS3 server replies with NFS3ERR_JUKEBOX, currently, itmillert1999-03-021-3/+4
| | | | | panics the kernel, because the kernel tries to reuse a freed mbuf; dm@reeducation-labor.lcs.mit.edu
* Use bitwise operations to extract high and low words from the quadmillert1999-02-061-2/+2
| | | | | | | in txdr_hyper. This should be more portable than casting to an array of ints and pulling out the two 32-bit words (this produced incorrect results on alpha for the high word for filesystems < 4gig). As a side effect, txdr_hyper now takes a u_quad_t as its first arg, not u_quad_t *.
* Change fxdr_hyper to return a u_quad_t. This minimizes the evil clobberingcsapuntz1998-08-191-2/+2
| | | | | | of lvalues that ANSI abhors. And it fixes df on NFS version 3 mounts on Sparcs.
* allocate random portsderaadt1997-07-281-8/+22
|
* XXX should do reserved portsderaadt1997-04-251-1/+2
|
* cleanup -Wallderaadt1997-04-181-2/+2
|
* avoid possible *NULL; fvdlderaadt1997-04-181-2/+3
|
* reclaim NFSMNT_RESVPORT bit, and add more traditional attribute cache timeout flagsdm1996-12-241-2/+4
|
* cannot check for < NFS_MINPACKET on some transports; from guy@netapp.comderaadt1996-07-031-2/+2
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-39/+38
|
* Minor cleanups. Checked against Lite2.mickey1996-04-171-34/+35
| | | | (NetBSD's was really just a Lite2's, but w/ 64bit support)
* From NetBSD: NFSv3 import (tomorrow's Net's kernel)mickey1996-03-311-191/+377
| | | | | Open's patches kept in. i'll possibly take a look at Lite2 soon, is there smth usefull ?..
* From NetBSD: merge with 960217 (still NFSv2)niklas1996-02-291-42/+38
|
* from cgd; handle 64-bit pointers and longsderaadt1995-12-211-50/+50
|
* initial import of NetBSD treederaadt1995-10-181-0/+1984