summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
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
2016-01-15print TAILQ_NEXT(so, so_qe) tooDavid Gwynne
2016-01-15add a "show socket" command to ddbDavid Gwynne
2016-01-13To make bug hunting easier, print more information in the soreceive()Alexander Bluhm
2016-01-06Prevent integer overflows in sosend() and soreceive() by convertingStefan Kempf
2015-12-05remove stale lint annotationsTed Unangst
2015-10-30Let m_resethdr() clear the whole mbuf packet header, not only theAlexander Bluhm
2015-08-24Items from pool sosplice_pool are get in process context and putAlexander Bluhm
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-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-05-06Pass a thread pointer instead of its file descriptor table to getsock(9).Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray