diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-08-27 14:12:54 -0700 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2011-03-21 13:30:54 +0000 |
commit | c8e7b8959051bf525183bdbff605e54b4b532e2c (patch) | |
tree | af9af45c64164f7e7ee9aec5575837624e23df65 /doc/kernel.texi | |
parent | 6392aa83c4f895ebbd23817c68d9b0da0de2e0f8 (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 'doc/kernel.texi')
0 files changed, 0 insertions, 0 deletions