Re: [PATCH 3/3] bridge: simpler hash with salt

2007-03-27 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Tue, 20 Mar 2007 14:17:09 -0700 > Instead of hashing the whole Ethernet address, it should be faster > to just use the last 4 bytes. Add a random salt value to the hash > to make it more difficult to construct worst case DoS hash chains. > > Signe

[PATCH 3/3] bridge: simpler hash with salt

2007-03-20 Thread Stephen Hemminger
Instead of hashing the whole Ethernet address, it should be faster to just use the last 4 bytes. Add a random salt value to the hash to make it more difficult to construct worst case DoS hash chains. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/bridge/br_fdb.c | 17