diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-01-06 21:40:48 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-01-06 21:40:48 +0000 |
commit | 3e1f95b316ba5a1cb24f76c715770b0e06df5ed3 (patch) | |
tree | 3df58945ddd02e69cea6c587071349b763c01d3e /sys/net/if_pppoe.h | |
parent | eca3015e0d58ef1f08f95f9897ac01331edb9a48 (diff) |
Change the way way rn_mklists work (especially the RNF_NORMAL ones).
Until now RNF_NORMAL masks did not use the refcount because only one route
in a particular subtree could have this mask. With multipath routing this is
no longer correct. The result was wrong backtracking information beeing stored
in the radix tree and so cretain lookups ended up on the wrong multipath nodes.
Use rm_refs for RNF_NORMAL masks so that all multipath routes are able
to point to the same radix_mask entry. Additional logic ensures that rm_leaf
always points back to the head of the multipath rn_dupedkey chain.
Tested by dlg@, gollo@, david@, sthen@ and a few more
This can have my OK dlg@
Diffstat (limited to 'sys/net/if_pppoe.h')
0 files changed, 0 insertions, 0 deletions