summaryrefslogtreecommitdiff
path: root/pkgsrc
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-08-27 14:12:54 -0700
committerPaul Jakma <paul@quagga.net>2011-03-21 13:30:54 +0000
commitc8e7b8959051bf525183bdbff605e54b4b532e2c (patch)
treeaf9af45c64164f7e7ee9aec5575837624e23df65 /pkgsrc
parent6392aa83c4f895ebbd23817c68d9b0da0de2e0f8 (diff)
bgpd: use Jenkins hash for BGP transit, cluster and attr hashes
* bgp_attr.c: I observed while doing some debugging that even for simple tests there was a lot of hash collisions for BGP attributes. Switch to using Jhash rather than additive hashing. Probably overkill, but the function is fast and available. ({attrhash,cluster,transit}_hask_key_make) convert to Jenkins hash, instead of additive hash.
Diffstat (limited to 'pkgsrc')
0 files changed, 0 insertions, 0 deletions