summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
AgeCommit message (Expand)Author
2023-04-20Call sysctl_source() with shared netlock. It performs read-onlyVitaliy Makkoveev
2023-04-19Protect rtable_setsource() and rtable_getsource() with exclusiveAlexander Bluhm
2023-04-18Remove kernel lock from ifa_ifwithaddr() and ifa_ifwithdstaddr().Vitaliy Makkoveev
2023-04-18Call sysctl_dumpentry() with shared netlock. It performs read-onlyVitaliy Makkoveev
2023-04-18Call sysctl_iflist() with shared netlock. It performs read-only accessVitaliy Makkoveev
2023-04-18Call sysctl_ifnames() with shared netlock. It performs read-only accessVitaliy Makkoveev
2023-01-22Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' ofVitaliy Makkoveev
2022-10-17Change pru_abort() return type to the type of void and make pru_abort()Vitaliy Makkoveev
2022-10-03System calls should not fail due to temporary memory shortage inAlexander Bluhm
2022-09-13Change pru_rcvd() return type to the type of void. We have no interestVitaliy Makkoveev
2022-09-08Rename global ifnet TAILQKlemens Nanni
2022-09-05Add missing prototypes for route_attach() and route_detach().Vitaliy Makkoveev
2022-09-03Move PRU_PEERADDR request to (*pru_peeraddr)().Vitaliy Makkoveev
2022-09-03Move PRU_SOCKADDR request to (*pru_sockaddr)()Vitaliy Makkoveev
2022-09-02Move PRU_CONTROL request to (*pru_control)().Vitaliy Makkoveev
2022-09-01Move PRU_CONNECT2 request to (*pru_connect2)().Vitaliy Makkoveev
2022-08-31Move PRU_SENDOOB request to (*pru_sendoob)().Vitaliy Makkoveev
2022-08-29Move PRU_RCVOOB request to (*pru_rcvoob)().Vitaliy Makkoveev
2022-08-29Use struct refcnt for interface address reference counting.Alexander Bluhm
2022-08-28Move PRU_SENSE request to (*pru_sense)().Vitaliy Makkoveev
2022-08-28Since we have no raw_usrreq anymore, remove pr_output indirection.Alexander Bluhm
2022-08-28Move PRU_ABORT request to (*pru_abort)().Vitaliy Makkoveev
2022-08-27Move PRU_SEND request to (*pru_send)().Vitaliy Makkoveev
2022-08-26Move PRU_RCVD request to (*pru_rcvd)().Vitaliy Makkoveev
2022-08-22Move PRU_SHUTDOWN request to (*pru_shutdown)().Vitaliy Makkoveev
2022-08-22Move PRU_DISCONNECT request to (*pru_disconnect).Vitaliy Makkoveev
2022-08-22Move PRU_ACCEPT request to (*pru_accept)().Vitaliy Makkoveev
2022-08-21Move PRU_CONNECT request to (*pru_connect)() handler.Vitaliy Makkoveev
2022-08-21Move PRU_LISTEN request to (*pru_listen)() handler.Vitaliy Makkoveev
2022-08-20Move PRU_BIND request to (*pru_bind)() handler.Vitaliy Makkoveev
2022-08-15Introduce 'pr_usrreqs' structure and move existing user-protocolVitaliy Makkoveev
2022-06-28Use refcnt API for struct rtentry instead of hand-crafted atomicAlexander Bluhm
2022-06-27Rework the rttimer code. Instead of a global queue and a global timeoutClaudio Jeker
2022-06-27Fix white space and wrap long lines.Alexander Bluhm
2022-06-27Don't copy more than sa_len from the sockaddr to the sysctl / rt msg buffer.Claudio Jeker
2022-06-26Switch walkargs for the buffer size to size_t and change the overflowClaudio Jeker
2022-06-16Mark routes sent via sysctl(2) with RTF_DONE like it is done on theClaudio Jeker
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
2022-03-09Change the logic around rounding up the needed memory for sysctls sinceClaudio Jeker
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-01-20Shifting signed integers left by 31 is undefined behavior in C.Alexander Bluhm
2021-12-16When adding the extra 10% of space to a needed sysctl buffer use mathClaudio Jeker
2021-09-14Add missing kernel lock for Bi-directional Forwarding Detection data.Vitaliy Makkoveev
2021-09-07Fix NULL pointer dereference introduced by previous commit.Vitaliy Makkoveev
2021-09-07Fix the race between if_detach() and rtm_output().Vitaliy Makkoveev
2021-06-23rtsock: revert from timeout_set_flags(9) to timeout_set_proc(9); ok mvs@cheloha
2021-06-01Check `so_state' in rtm_senddesync() and return if SS_ISCONNECTED ormvs
2021-05-30Declare all struct protosw as constant.Alexander Bluhm
2021-05-25As network features are not added dynamically, the domain structuresAlexander Bluhm