summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
2020-03-21r1.244 introduced rt_hash() with careful checks of src for NULL atKenneth R Westerback
2020-03-10The return value of rt_ifa_purge() is ignored, so stopKenneth R Westerback
2020-01-08Fix confusion around rtlabelid and rtableid in rt_ifa_add() and rt_ifa_del().Claudio Jeker
2019-06-24Since the recent recursion fix in rtable_walk(), deleting an interfaceAlexander Bluhm
2019-06-21Prevent recursions by not deleting entries inside rtable_walk(9).Martin Pieuchot
2019-06-13Copy the user provided sockaddr into a normalized sockaddr in rtrequest()Claudio Jeker
2019-05-11Make rt_mpls_set() be more strict in what it accepts. Also ensure thatClaudio Jeker
2019-03-03Found some historical code. Don't cast the pointer for bzero to a different ...Theo de Raadt
2019-02-15Remove KASSERT() for now. It triggers when destroying lo(4) of a rdomainClaudio Jeker
2019-02-13change rt_ifa_add and rt_ifa_del so they take an rdomain argument.David Gwynne
2019-02-10remove the implict RTF_MPATH flag that rt_ifa_add() sets on new routes.David Gwynne
2018-11-23Change rtable_mpath_reprio() to take the prefixlen as argument instead ofClaudio Jeker
2018-09-27Make sure the L2 entry is cloned before dereferencing its parent.Martin Pieuchot
2018-07-11superfluous newlineHenning Brauer
2018-06-25Factorize MPLS setup/teardown into two functions.Martin Pieuchot
2018-06-11Push the KERNEL_LOCK() inside route_input().Martin Pieuchot
2018-04-24Remove unused rtentry parameter.Florian Obser
2018-02-22Always reallocate a new memory chunk when changing the gateway of aMartin Pieuchot
2018-02-20Removing an RTF_CLONING route entry should not invalidate an RTF_CACHEDMartin Pieuchot
2018-02-10If the kernel fails to clone an entry, report rtrequest(9) error.Martin Pieuchot
2018-02-08When multiple RTF_CLONING routes for the same subnet are present, useMartin Pieuchot
2018-01-02Move the cloning bits in their own function.Martin Pieuchot
2017-11-29Revert 1.353, this breaks mpe(4). Also it seems not complete since rt_ifa_delClaudio Jeker
2017-09-05Restart the iteration when a multipath list is re-ordered to make sureMartin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.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-27Export RTAX_IFP, RTAX_IFA and RTAX_LABEL to userland in rtdeletemsg().Martin Pieuchot
2017-07-24rt_getifa() is only needed for routing commands submited by userland.Martin Pieuchot
2017-06-09Replace rtrequest(RTM_DELETE...) rtrequest_delete() and do not evenMartin Pieuchot
2017-06-07Grab the KERNEL_LOCK() around rtm*() functions. Routing sockets globalsMartin Pieuchot
2017-05-27In ifa_ifwithroute() the rtalloc() needs to be done against the rdomainClaudio Jeker
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-04-19Use the rt_rmx defines that hide the struct rt_kmetrics indirection.Alexander Bluhm
2017-03-06Prefix functions dealing with routing messages with 'rtm_' and keepMartin Pieuchot
2017-03-02Allow MPLS switching and VPLS across rdomains.Renato Westphal
2017-02-28Use rtable_match() rather than rtalloc(9) when adding a new route.Martin Pieuchot
2017-02-15Replace manual loops with FOREACH macro.Alexander Bluhm
2017-02-05Always allocate counters memory using type M_COUNTERS.Jeremie Courreges-Anglas
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2017-01-24when we lose link, do not delete entries that have the RTF_BFD flag setPeter Hessler
2017-01-20use per-cpu counters for rtstat.David Gwynne
2017-01-19remove the BFD flag on a route *before* we actually delete the routePeter Hessler
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-12-17Insert RTF_CLONED routes at a higher priority than their partent toMartin Pieuchot
2016-12-14Make 'route add default' show a nicer error message if the providedStefan Sperling
2016-12-04Since net/route.c r1.337 interface priority factors into route priorityStefan Sperling
2016-12-02Assert that rt_match() is always called at IPL_SOFTNET rather thanMartin Pieuchot