summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
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
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-11-21Kill rtioctl() stub, returning EOPNOTSUPP since tree import.Martin Pieuchot
2016-11-15Properly initialize ``ifa''.Martin Pieuchot
2016-11-14Reflect interface priorities when inserting RTF_CONNECTED routes.Martin Pieuchot
2016-11-14Automatically create a default lo(4) interface per rdomain.Martin Pieuchot
2016-11-09Do not call splsoftnet() recursively, this won't work with a lock.Martin Pieuchot
2016-11-08Use rtalloc(9) instead of ifa_ifwithnet().Martin Pieuchot
2016-10-06Remove redundant comments that say a function must be called atAlexander Bluhm
2016-10-05rt_timer_timer() needs a process context because it messes with theMartin Pieuchot
2016-10-04Correct the flag checks inside rt_ifa_addlocal(9) and rt_ifa_dellocal(9).Martin Pieuchot
2016-09-17*** empty log message ***Peter Hessler
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-13Stop creating a BFD descriptor when the route is created.Martin Pieuchot
2016-09-08Call bfd_rtfree() when the route entry has been removed from the table,Martin Pieuchot
2016-09-07Only free the old cached next hop route if the new one is valid.Martin Pieuchot
2016-09-04Do not assume that an interface index of a route is still valid inAlexander Bluhm
2016-09-04Purge routes attached to an address when this address is removed.Martin Pieuchot
2016-09-04Make it possible to toggle RTF_BFD via RTM_CHANGE and fix some minor thingsClaudio Jeker
2016-09-03Add in the (disabled) kernel glue for BFDPeter Hessler
2016-09-01Disable the RTF_UP kassert check in rtisvalid() for now as it canAlexander Bluhm
2016-09-01Move the RTF_LOCAL check that only makes sense for userland toMartin Pieuchot
2016-08-31Do not flush RTF_CLONED children when adding a new route.Martin Pieuchot
2016-08-30pool_setiplDavid Gwynne
2016-08-22Use rtalloc(9) instead of ifa_ifwithnet() to find an interfaceMartin Pieuchot
2016-08-22Make the ``rt_gwroute'' pointer of RTF_GATEWAY entries immutable.Martin Pieuchot
2016-08-19Do not seroize a struct needed for RTM_RESOLVE in the hot path.Martin Pieuchot
2016-08-16Mask the ``prio'' prior to comparing it to RTP_LOCAL.Martin Pieuchot
2016-07-22Check for errors when deleting routes inside rtable_walk() and abortMartin Pieuchot
2016-07-19Return EAGAIN for every deleted route when detaching an interface.Martin Pieuchot
2016-07-11Path MTU discovery was slightly broken. I took two ICMP packetsAlexander Bluhm
2016-07-11Revert the introduction of ``rt_addr''.Martin Pieuchot
2016-06-14Pass the configured ``ifa'' to rt_sendaddrmsg() instead of getting it viaMartin Pieuchot
2016-06-14Store the source address associated with a route in its own chunk ofMartin Pieuchot
2016-06-08Revert previous, it breaks regression tests.Martin Pieuchot
2016-06-07Use rtalloc(9) instead of ifa_ifwithnet() to find an interfaceMartin Pieuchot
2016-06-03Remove superfluous parenthesis to shut up clang, from David Hill.Martin Pieuchot
2016-06-03set rt_expire times against time_uptime, not time_second.David Gwynne
2016-06-01s/stall/stale/ in a comment about old interfaces.David Gwynne
2016-05-31Flush dynamic route entries attached to an interface when its link stateMartin Pieuchot
2016-05-31Plug a route entry leak triggered under memory pressure.Martin Pieuchot
2016-05-02Simplify life for routing table implementations by requiring that rtable_walkJonathan Matthew
2016-04-27Remove unused arguments from rt_checkgate().Martin Pieuchot
2016-03-26Always include the route priority in routing messages.Martin Pieuchot
2016-03-26Do not populate RTAX_NETMASK when sending a routing message for RTF_HOSTMartin Pieuchot
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2016-02-26L2 entries are always in the first table of a routing domain, this fixesTheo de Raadt
2016-02-24Fix ECMP routing by passing the correct destination address to theMartin Pieuchot