summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
2017-07-27Assert that the KERNEL_LOCK() is held prior to call csignal() andMartin Pieuchot
2017-07-24Extend the scope of the socket lock to protect `so_state' in connect(2).Martin Pieuchot
2017-07-20If pool_get() sleeps while allocating additional memory for socketAlexander Bluhm
2017-07-20Prepare filt_soread() to be locked. No functionnal change.Martin Pieuchot
2017-07-13Do not unlock the netlock in the goto out error path before it hasAlexander Bluhm
2017-07-08Revert grabbing the socket lock in kqueue filters.Martin Pieuchot
2017-07-04Always hold the socket lock when calling sblock().Martin Pieuchot
2017-07-03Protect `so_state', `so_error' and `so_qlen' with the socket lock inMartin 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-20In ddb print socket bit field so_state in hex to match SS_ defines.Alexander Bluhm
2017-06-20Convert sodidle() to timeout_set_proc(9), it needs a process contextMartin Pieuchot
2017-05-31new socketoption SO_ZEROIZE: zero out all mbufs sent over socketMarkus Friedl
2017-05-27Push the NET_LOCK down into PF_KEY so that it can be treated like PF_ROUTE.Claudio Jeker
2017-05-15so_splicelen needs to be protected by the socket lock. We are nowMartin Pieuchot
2017-05-15Enable the NET_LOCK(), take 3.Martin Pieuchot
2017-04-02Less convoluted code in soshutdown()Theo de Raadt
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-03-03Prevent a recursion in the socket layer.Martin Pieuchot
2017-02-14Wrap the NET_LOCK() into a per-socket solock() that does nothing forMartin Pieuchot
2017-02-01In sogetopt, preallocate an mbuf to avoid using sleeping mallocs withDavid Hill
2017-01-27In sosend() the size of the control message for file descriptorAlexander Bluhm
2017-01-26Do not hold the netlock while pool_get() may sleep. It is notAlexander Bluhm
2017-01-25As NET_LOCK() is a read/write lock, it can sleep in sotask(). SoAlexander Bluhm
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-20Grab the NET_LOCK() in so{s,g}etopt(), pffasttimo() and pfslowtimo().Martin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-11-23Some socket splicing tests on loopback hang with large mbufs andAlexander Bluhm
2016-11-22Enforce that pr_ctloutput is called at IPL_SOFTNET.Martin Pieuchot
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.Martin Pieuchot
2016-11-14Remove splnet() from socket kqueue code.Martin Pieuchot
2016-10-06Remove redundant comments that say a function must be called atAlexander Bluhm
2016-10-06Separate splsoftnet() from variable initialization.Alexander Bluhm
2016-09-20Protect soshutdown() with splsoftnet() to define one layer whereAlexander Bluhm
2016-09-20Add some spl softnet assertions that will help us to find the rightAlexander Bluhm
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-13Do not raise splsoftnet() recursively in soaccept().Martin Pieuchot
2016-09-03If sosend() cannot allocate a large cluster, try a small one asAlexander Bluhm
2016-09-03Return immediately when m_getuio() fails by invalid uio parameter.YASUOKA Masahiko
2016-08-25Spliced TCP sockets become faster when the output part is runningAlexander Bluhm
2016-08-25Completely revert the M_WAIT change on the cluster allocation andAlexander Bluhm
2016-08-22Refactor the uio to mbuf code out of sosend and start to make use ofClaudio Jeker
2016-06-13On localhost a user program may create a socket splicing loop.Alexander Bluhm
2016-06-12Fix format string in ddb show socket.Alexander Bluhm
2016-03-14Change a bunch of (<blah> *)0 to NULL.Kenneth R Westerback
2016-01-15Improve the socket panic messages further. claudio@ wants to seeAlexander Bluhm