summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_socket.c
AgeCommit message (Expand)Author
2024-09-18remove unneeded semicolons after switch statementsJonathan Gray
2024-09-11After calling m_freem() on nmi_mrep (or nmi_mreq) set the pointer to NULL.Claudio Jeker
2024-09-04Fix some spelling.Marcus Glocker
2024-07-12Switch `so_snd' of udp(4) sockets to the new locking scheme.Vitaliy Makkoveev
2024-04-30Constify NFS data whenever possible. Also make a few more const data static.Miod Vallat
2024-04-30Convert all the NFS macros (in nfsm_subs.h) into inline functions with theMiod Vallat
2024-04-19nfs: Permit null requests (aka server pings) from non-reserved portsAlexandre Ratchov
2024-03-31Mark `so_rcv' sockbuf of udp(4) sockets as SB_OWNLOCK.Vitaliy Makkoveev
2024-03-22Limit NFS connections to originate from a reserved port.Claudio Jeker
2024-02-05Use `sb_mtx' mutex(9) to protect `sb_timeo_nsecs'. In most placesVitaliy Makkoveev
2023-08-03Move solock() down to sosetopt(). A part of standalone sblock() work.Vitaliy Makkoveev
2022-08-13Introduce the pru_*() wrappers for corresponding (*pr_usrreq)() calls.Vitaliy Makkoveev
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
2022-05-22Lock kernel in nfsrv_rcv() because NFS subsystem is not MP-safe yet.Visa Hankala
2022-03-17Use the refcnt API with struct ucred.Visa Hankala
2022-02-22Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>Philip Guenther
2022-01-11spellingJonathan Gray
2021-01-02nfs: don't sleep on lboltcheloha
2020-01-21sys/nfs: misc. tsleep(9) -> tsleep_nsec(9); ok mpi@cheloha
2020-01-15Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9).Martin Pieuchot
2019-12-05Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2019-05-13When killing a process, the signal is handled by any thread thatAlexander Bluhm
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