summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
AgeCommit message (Expand)Author
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
2018-07-09Inline the raw_usrreq() function into route_usrreq(). This simplifies theClaudio Jeker
2018-07-05fix comment: s/always send/always sent/Stuart Henderson
2018-07-05RTM_BFD route messages are also a special case. suggested by claudio@,Sebastian Benoit
2018-07-05not all route messages have a priority. Move the priority filter checkSebastian Benoit
2018-07-01Retire support for unused RTM_LOCK messages, it's redundant w/ RTM_CHANGE.Martin Pieuchot
2018-06-25Factorize MPLS setup/teardown into two functions.Martin Pieuchot
2018-06-25Push the NET_LOCK() down in rtm_output().Martin Pieuchot
2018-06-11Rename routing & pfkey tables for coherency with other PCB tables.Martin Pieuchot
2018-06-11Push the KERNEL_LOCK() inside route_input().Martin Pieuchot
2018-06-06Prefix fields of pfkey & routing PCBs, part 2, no functionnal change.Martin Pieuchot
2018-06-06Prefix fields of pfkey & routing PCBs, no functionnal change.Martin Pieuchot
2018-06-06Asseert that a pfkey or routing socket is referenced by a `fp' insteadMartin Pieuchot
2018-05-14Use a SRP list to protect pfkeyv2 sockets, thus removing the need toMartin Pieuchot
2018-05-08Introduce rtm_sendup() a function to deliver routing messages to aMartin Pieuchot
2018-04-24Remove unused rtentry parameter.Florian Obser
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-11Add a ROUTE_PRIOFILTER socket option for roueing sockets thatSebastian Benoit
2018-02-08Make the routing socket more MP save by using a SRPL list for the pcb list.Claudio Jeker
2017-12-18Size for free(9).Martin Pieuchot
2017-12-13Spacing from kshe59@zoho.eu.Martin Pieuchot
2017-12-13Sizes for free in route_output().Martin Pieuchot
2017-12-10Remove outdated comment and trailing spaces.Martin Pieuchot
2017-11-03After inlining of raw_detach we know the sizes for free; pointed outFlorian Obser
2017-11-03use rop->rcb similar like in pfkeyv2_detach(); suggested by visaFlorian Obser
2017-11-03Inline trivial functions from raw_cb.c and tedu it.Florian Obser
2017-11-02Move PRU_DETACH out of pr_usrreq into per proto pr_detachFlorian Obser
2017-10-09Reduces the scope of the NET_LOCK() in sysctl(2) path.Martin Pieuchot
2017-09-05Replace NET_ASSERT_LOCKED() by soassertlocked() in *_usrreq().Martin Pieuchot
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-10Prevent userland to modify RTF_LOCAL route entries.Martin Pieuchot
2017-08-02Move a sanity check that only makes sense for userland where it belongs.Martin Pieuchot
2017-07-30Enable mpath support in the Allotment Routing Table (ART) on the ramdisk.Florian Obser
2017-07-30Switch installer to Allotment Routing Table (ART).Florian Obser
2017-07-28Add an error argument to rtm_send() instead of rerolling it insideMartin Pieuchot
2017-07-26Fix typo in comment, ok deraadt@anton
2017-07-24rt_getifa() is only needed for routing commands submited by userland.Martin Pieuchot
2017-07-03Both PF_ROUTE and PF_KEY need to start to take care of their own PCB listClaudio Jeker