summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
AgeCommit message (Expand)Author
2024-07-12Switch `so_snd' of udp(4) sockets to the new locking scheme.Vitaliy Makkoveev
2024-06-14Switch AF_ROUTE sockets to the new locking scheme.Vitaliy Makkoveev
2023-12-03Make rtm_senddesync_timer() timeout(9) handler mpsafe. solock() protectsVitaliy Makkoveev
2023-11-12Use constant sockaddr in route lookup.Alexander Bluhm
2023-11-12Do not modify route info sockaddr in rtm_xaddrs().Alexander Bluhm
2023-09-16Allow counters_read(9) to take an optional scratch buffer.Martin Pieuchot
2023-07-28Compare m_pullup(9) return value against NULL instead of 0.Vitaliy Makkoveev
2023-07-27Fix routing message size check in route_output(). `rtm_hdrlen' type isVitaliy Makkoveev
2023-06-26Revert unrelated change that sneaked into the pf_ioctl.c commit.Claudio Jeker
2023-06-26Close all pf transactions before opening a new one in DIOCGETRULES.Claudio Jeker
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