summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_socket.c
AgeCommit message (Expand)Author
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forClaudio Jeker
2018-09-10Instead of calculating the mbuf packet header length here and there,Alexander Bluhm
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modeMartin Pieuchot
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2017-09-07nfs_connect() returns EINVAL at the beginning if nm_sotype isAlexander Bluhm
2017-09-05Preallocate option mbufs in order to reduce solock()/sounlock() dances.Martin Pieuchot
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-08-14knf to fix tab/space mismatches that make it hard to tell what's insideTed Unangst
2017-08-14drop seriously lacking support for SEQPACKET.Ted Unangst
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-10Move the solock()/sounlock() dance outside of sobind().Martin Pieuchot
2017-08-09Move the socket lock "above" sosetopt(), sogetopt() and sosplice().Martin Pieuchot
2017-07-24Extend the scope of the socket lock to protect `so_state' in connect(2).Martin Pieuchot
2017-06-27Add missing solock()/sounlock() dances around sbreserve().Martin Pieuchot
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-06-19When dealing with mbuf pointers passed down as function parameters,Alexander Bluhm
2017-05-17Remove useless splsoftnet().Martin Pieuchot
2017-05-08Sync nfs_connect() w/ sys_connect().Martin Pieuchot
2017-03-03Prevent a recursion in the socket layer.Martin Pieuchot
2017-02-22Keep local definitions local.Martin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2015-08-24In kernel initialize struct sockaddr_in and sockaddr_in6 to zeroAlexander Bluhm
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-06-11Convert from hzto(9) to tvtohz(9); OK dlgMike Belopuhov
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-17use NGROUPS_MAXTheo de Raadt
2014-11-14bzero -> memsetTed Unangst
2014-04-18If somebody else is already processing the RPC requests on a stream socket,Mark Kettenis
2014-03-22Move p_sigacts from struct proc to struct process.Philip Guenther
2014-01-19Remove max_datalen. It is only used once an can be replaced easily withClaudio Jeker
2013-07-04format string fixes: size_t and signednessStefan Fritsch
2011-07-05Recommit the reverted sigacts change now that the NFS use-after-freePhilip Guenthe
2011-04-18Revert the sigacts diff: NFS can apparently retain pointers to processesPhilip Guenthe
2011-04-15Correct the sharing of the signal handling state: stuff that shouldPhilip Guenthe
2010-07-05If we find something is not aligned according to ALIGNED_POINTER(), weTheo de Raadt
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsBret Lambert
2009-10-19antsyJonathan Gray
2009-08-25move to having requests on a per nfsmount tailq instead of one global one.Thordur I. Bjornsson
2009-08-10Remove the v2 writegather code. It did help alot back in the 80sThordur I. Bjornsson
2009-08-04group all of the on-stack variables that are uses by the nfsm_macrosThordur I. Bjornsson
2009-07-30make sure we only ever try to read out post-op attributesThordur I. Bjornsson
2009-07-22Instead of calculating a number of seconds to sleep, tsleep()ing onBret Lambert
2009-07-20(struct foo *)0 -> NULL, every where I could find it.Thordur I. Bjornsson
2009-07-20For memory that gets allocated for every NFS request, pools make moreBret Lambert
2009-07-18if -> in, and the sentance makes more sense.Thordur I. Bjornsson
2009-07-18Fixes for the NFSERR_RETERR commit.Thordur I. Bjornsson
2009-07-13Make the callers of nfs_request() responsible for freeing the reply mbuf,Thordur I. Bjornsson
2009-06-04typo; init -> in itBret Lambert
2009-06-03remove cruft that snuck in with previousThordur I. Bjornsson
2009-06-03Lift the NFS over UDP retransmit logic from FreeBSD.Thordur I. Bjornsson