summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
AgeCommit message (Expand)Author
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
2021-05-17Revert. Last change should not have been committed.Claudio Jeker
2021-05-17Increase the default buffer space using on PF_UNIX sockets to 8k.Claudio Jeker
2021-05-16In route detach we delete `rop_timeout' while `rop' is still linked tomvs
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-03-26Push kernel lock down to rt_setsource() to make `ifa' dereference safe.mvs
2021-03-18Like in the sysctl case include the ifp_sadl as RTA_IFP address in RTM_IFINFOClaudio Jeker
2021-02-27Rework route_input() and rtm_sendup(). While we perform foreach loopmvs
2021-02-25we don't have to cast to caddr_t when calling m_copydata anymore.David Gwynne
2021-02-15Simplify error path in in route_attach(). We always call it in threadmvs
2020-11-07Rework source IP address setting.denis
2020-10-29Add feature to force the selection of source IP addressdenis
2020-09-23Fix declaration of `routedomain'. It's not external here.mvs
2020-09-22Document locks which protect `rtpcb' struct members.mvs
2020-08-13Add a ROUTE_FLAGFILTER socket option for routing sockets, allowingJonathan Matthew
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-03-24Remove redundant 'NULL' check for 'rtm'.tobhe
2019-11-24If the RTM_PROPOSAL is a solicitation proposal forward the request toClaudio Jeker
2019-11-22The DNS proposal list can (soon) be empty to signal a withdraw, relaxFlorian Obser
2019-11-22Add rtm_proposal, a function to send out RTM_PROPOSAL messages from theClaudio Jeker
2019-11-06Pull break into ifdef; noticed by bluhm who also OK'ed the previousFlorian Obser
2019-11-06Fix RTA_DNS checks:Florian Obser
2019-09-23Do more sanity checks when accepting socket addresses in routingAlexander Bluhm
2019-08-28Fix white spaces and wrap long lines.Alexander Bluhm
2019-08-28In rev 1.273 RTM_LOCK has been removed from net/rtsock.c. SinceAlexander Bluhm
2019-07-17Convert struct rtpcb malloc(9) to pool_get(9). PCB for routingAlexander Bluhm
2019-06-21Prevent recursions by not deleting entries inside rtable_walk(9).Martin Pieuchot
2019-06-05Remove workaround and return EINVAL when userland sends routing messagesClaudio Jeker
2019-05-11Make rt_mpls_set() be more strict in what it accepts. Also ensure thatClaudio Jeker
2019-04-05Broken userland software sets address bit in routing message withoutAlexander Bluhm
2019-03-31Add a more strict rtm_hdrlen size check. Make sure that at leastClaudio Jeker
2019-02-08Fix kernel info leak in routing message.Alexander Bluhm
2019-02-04Avoid an mbuf double free in the oob soreceive() path. In theAlexander Bluhm
2018-12-20Convert to timeout_add_msec instead of counting ticks.Claudio Jeker
2018-11-12Add new routing socket message RTM_80211INFO to provide details ofKenneth R Westerback
2018-07-10Remove net/raw_cb.h from includes and replace the RAWSNDQ, RAWRCVQ withClaudio Jeker
2018-07-10After removing raw_usrreq() from route and pfkey, the global sockaddrAlexander Bluhm