summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
2022-05-09Revert "Replace selwakeup() with KNOTE() in pipe and socket event activation."Visa Hankala
2022-05-06Replace selwakeup() with KNOTE() in pipe and socket event activation.Visa Hankala
2022-02-25Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.comPhilip Guenther
2022-02-25Move pr_attach and pr_detach to a new structure pr_usrreqs that canPhilip Guenther
2022-02-16Reduce code duplication in socket event filters.Visa Hankala
2022-02-13Rename knote_modify() to knote_assign()Visa Hankala
2021-12-24Make poll/select version of filt_solisten() more similar to soo_poll().Visa Hankala
2021-12-13Revise EVFILT_EXCEPT filtersVisa Hankala
2021-11-11Destroy protocol control block before perform `so_q0' and `so_q' queuesVitaliy Makkoveev
2021-11-06Allocate socket and initialize so_lock in one placeVisa Hankala
2021-10-24Set klist lock for sockets to make socket event filters MP-safeVisa Hankala
2021-10-22Make EVFILT_EXCEPT handling separate from the read filter.Martin Pieuchot
2021-10-14Release solock() before call unp_externalize().Vitaliy Makkoveev
2021-07-26Pass a socket pointer to various socket buffer routines in preparation forMartin Pieuchot
2021-05-28Add f_modify and f_process callbacks to socket filterops.Visa Hankala
2021-05-25As network features are not added dynamically, the domain structuresAlexander Bluhm
2021-05-13Do `so_rcv' cleanup with sblock() held.mvs
2021-05-13Use NULL instead of 0 for mbuf(9) pointers.mvs
2021-05-01Implement per-socket `so_lock' rwlock(9) and use it to protect routingmvs
2021-04-26Revert per-socket `so_lock' rwlock(9) and use it to protect routingClaudio Jeker
2021-04-25Implement per-socket `so_lock' rwlock(9) and use it to protect routingmvs
2021-02-24In sorflush() use m_purge() instead of handrolling it.Alexander Bluhm
2021-02-18Release mbuf(9) chain with a simple m_freem(9) loop in sorflush().mvs
2021-01-17Replace SB_KNOTE and sb_flagsintr with direct checking of klist.Visa Hankala
2021-01-09If the loop check in somove(9) goes to release without setting anAlexander Bluhm
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-12-12Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.jan
2020-11-17Fix handling of MSG_PEEK in soreceive() for the case where an emptyClaudio Jeker
2020-09-29Move the solock() call outside of solisten(). The reason is that theClaudio Jeker
2020-08-07sosplice(9): fully validate idle timeoutcheloha
2020-06-22Extend kqueue interface with EVFILT_EXCEPT filter.Martin Pieuchot
2020-06-18Compare `so' and `sosp' types just after `sosp' obtaining. We can't splicemvs
2020-06-15Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found.Martin Pieuchot
2020-04-12In sosplice(), temporarily release the socket lock before callinganton
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-03-11Fix unlimited recursion caused by local outbound bcast/mcast packetAlexandr Nedvedicky
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-02-14Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().Martin Pieuchot
2020-01-15Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9).Martin Pieuchot
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-12Reintroduce socket locking inside socket event filters.Visa Hankala
2019-12-02Revert "timeout(9): switch to tickless backend"cheloha
2019-11-26timeout(9): switch to tickless backendcheloha
2019-07-22implement SO_DOMAIN and SO_PROTOCOL so that the domain and the protocolRobert Nagy
2019-07-11listen(2) should return EINVAL if the socket is connected.Alexander Bluhm
2019-07-04Remove a useless kernel lock from the TCP socket splicing path.Alexander Bluhm
2018-12-17When using MSG_WAITALL, soreceive() can sleep while processing theAlexander Bluhm
2018-11-30Trivial MH_ALIGN/M_ALIGN to m_align conversions.Claudio Jeker
2018-11-21When using MSG_PEEK to peak into packets skip control messages holdingClaudio Jeker
2018-11-19Utilize sigio with sockets.Visa Hankala