| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
different trees are manipulated:
- Stop writting to global variables
- Use a buffer on the stack
- Anotate read/only arrays as such
While here introduce a SALEN() macro and assert that the KERNEL_LOCK()
is held when a tree is modified.
ok bluhm@
|
| |
|
|
|
|
| |
Needed by the regression tests.
|
|
|
|
|
|
| |
is no point in keeping an unused level of abstraction.
ok mikeb@, claudio@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
length of the key as argument.
This way every consumer of the radix tree has a chance to explicitly
initialize the shared data structures and no longer rely on another
subsystem to do the initialization.
As a bonus ``dom_maxrtkey'' is no longer used an die.
ART kernels should now be fully usable because pf(4) and IPSEC properly
initialized the radix tree.
ok chris@, reyk@
|
|
|
|
|
|
|
|
| |
of rn_delete was changed). The mpath code gets a much better
rn_mpath_next() function that allows looping through the dupedkey list
based on prio, any or only active routes. This solves the issues seen
with failed deletes of down routes.
Commit this now so that it gets tested. Both sthen@ and blambert@ agree.
|
|
|
|
| |
OK mpi@ and krw@
|
|
|
|
| |
radix_mask pool. With input and OK mikeb@ and henning@
|
|
|
|
|
| |
sprinkle 0 -> NULL where obvious
ok millert mpi
|
| |
|
|
|
|
| |
ok claudio
|
| |
|
|
|
|
|
|
| |
exporting them to the outside world via radix.h.
ok claudio@ sthen@ henning@
|
| |
|
|
|
|
|
|
|
| |
rt_if_remove_rtdelete() need to know the table id to be able to correctly
remove nodes.
Problem found by Andrea Parazzini and analyzed by Martin Pelikán.
OK henning@
|
| |
|
|
|
|
|
|
|
|
|
| |
and the one route with the lowest number wins. This will be used by the
routing daemons to resolve the synchronisations issue in case of conflicts.
The nasty bits of this are in the multipath code. If no priority is specified
the kernel will choose an appropriate priority.
Looked at by a few people at n2k8 code is much older
|
|
|
|
| |
remove the ugly routed hacks. OK henning@, hshoexer@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
user visible changes:
- you can add multiple routes with same key (route add A B then route add A C)
- you have to specify gateway address if there are multiple entries on the table
(route delete A B, instead of route delete A)
kernel change:
- radix_node_head has an extra entry
- rnh_deladdr takes extra argument
TODO:
- actually take advantage of multipath (rtalloc -> rtalloc_mpath)
|
|
|
|
| |
ok itojun@
|
|
|
|
|
|
|
| |
makes routing lookups slightly more expensive, and serves no useful
purpose.
ok itojun@ tedu@
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
| |
__P removal.
|
| |
|
| |
|
|
|
|
| |
same naming style.
|
|
|
|
| |
okay itojun@ deraadt@
|
|
|
|
| |
make it nicer w/ new routed.
|
| |
|
|
|