summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_rl_pci.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2006-02-23 16:06:29 +0000
committerclaudio <claudio@openbsd.org>2006-02-23 16:06:29 +0000
commit64896ccb0fb34c2cc4d3c84522b66b9d31c6d22b (patch)
treef0117a5536f02e53b3925d6e6aa404e239a6d478 /sys/dev/pci/if_rl_pci.c
parentUse the new rtm_fmask feature to reset blackhole and reject routes on (diff)
downloadwireguard-openbsd-64896ccb0fb34c2cc4d3c84522b66b9d31c6d22b.tar.xz
wireguard-openbsd-64896ccb0fb34c2cc4d3c84522b66b9d31c6d22b.zip
Rework the LSA cache and make it behave. Until now we only used the type,
id and adv router as hash and that resulted and weird behaviour. Because the age was not used in the compare it was almost impossible to MAXAGE some LSAs in busy networks. The result was a slowly growing retransmission queue and an ospf engine spending way to much time traversing these sometimes huge queues. Now we just hash the full lsa_hdr and so age is included. Additionally correctly age LSAs in the retransmission queues. ok ok ok ok ok ok and a lot of help (plus a busy OSPF network) norby@
Diffstat (limited to 'sys/dev/pci/if_rl_pci.c')
0 files changed, 0 insertions, 0 deletions