summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket2.c
AgeCommit message (Expand)Author
2017-07-27Assert that the KERNEL_LOCK() is held prior to call csignal() andMartin Pieuchot
2017-07-18soreserve() modifies `so_snd' and `so_rcv' so asserts that it is calledMartin Pieuchot
2017-07-04Always hold the socket lock when calling sblock().Martin Pieuchot
2017-07-04Assert that the socket lock is held when `so_state' is modified.Martin Pieuchot
2017-07-04Assert that the socket lock is held when `so_qlen' is modified.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-07Assert that the KERNEL_LOCK() is held when messing with routing,Martin Pieuchot
2017-05-27Push the NET_LOCK down into PF_KEY so that it can be treated like PF_ROUTE.Claudio Jeker
2017-05-15Enable the NET_LOCK(), take 3.Martin Pieuchot
2017-03-17Revert the NET_LOCK() and bring back pf's contention lock for release.Martin Pieuchot
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-03-07Do not grab the NET_LOCK() for routing sockets operations.Martin Pieuchot
2017-02-14Wrap the NET_LOCK() into a per-socket solock() that does nothing forMartin Pieuchot
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2016-12-29Change NET_LOCK()/NET_UNLOCK() to be simple wrappers aroundMartin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-15Bring back the SB_LOCK and SB_WANT flags to lock the socket buffersAlexander Bluhm
2016-10-09sowakeup() is only called from sorwakeup() and sowwakeup(). BothAlexander Bluhm
2016-10-06Remove redundant comments that say a function must be called atAlexander Bluhm
2016-09-02After allocating a single 64 KB mbuf cluster in sosend(), the sendingAlexander Bluhm
2016-06-28introduce rwlock for socketbuf instead of the old flag and tsleep dance.Ted Unangst
2015-10-06Make sure that all padding bytes in cmsgs are actually zero by memsetClaudio Jeker
2015-07-08MFREE(9) is dead, long live m_freem(9)!Martin Pieuchot
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-11convert bcopy to memcpy/memmove. ok krwTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-09Delete the SS_ISCONFIRMING flag that supported delayed connectionPhilip Guenther
2013-04-05remove some obsolete castsTed Unangst
2013-01-15Changing the socket buffer flags sb_flags was not interrupt safeAlexander Bluhm
2012-12-31Extend the sbcheck() function to make it work with socket buffersAlexander Bluhm
2012-04-13unneccessary casts to unsigned; ok claudioTheo de Raadt
2011-04-04Correctly inherit and set the watermarks on socketbuffers.Claudio Jeker
2010-09-24TCP send and recv buffer scaling.Claudio Jeker
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-08-10Don't use char arrays for sleep wchans and reuse them.Thordur I. Bjornsson
2009-03-30bzero -> PR_ZEROBret Lambert
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
2009-01-13Change sbreserve() to return 0 on success, 1 on failure, as god intended.Bret Lambert
2008-11-24add several backend pools to allocate mbufs clusters of various sizes outDavid Gwynne
2008-05-23Deal with the situation when TCP nfs mounts timeout and processesThordur I. Bjornsson
2007-09-19instead of relying on mbuf.h to include pool.h and declareBret Lambert
2007-02-26exclude control data from the number of bytes returned by FIONREAD ioctl()Kurt Miller
2006-01-05ansi/deregisterJonathan Gray
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-05-27add a field to struct socket that stores the pid of the process thatDaniel Hartmeier
2004-04-25change sb_mbmax to: (sb_max/MCLBYTES) * (MSIZE+MCLBYTES); ok deraadtMarkus Friedl
2004-04-19this is only a work in progress, we can perfect afterwards, but it is timeTheo de Raadt
2004-04-01use NULL for ptrs. parts from Joris VinkTed Unangst