aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-03-21 13:42:33 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:28:46 -0700
commit3f890923182aeebc572f3818dd51c9014827e0ec (patch)
tree58831f297f8f8c6260d71b512176b7bd26dfe7db /net/bridge/br_private.h
parent467aea0ddfd1f0f1158c57cbef0e8941dd63374c (diff)
downloadkernel_samsung_smdk4412-3f890923182aeebc572f3818dd51c9014827e0ec.zip
kernel_samsung_smdk4412-3f890923182aeebc572f3818dd51c9014827e0ec.tar.gz
kernel_samsung_smdk4412-3f890923182aeebc572f3818dd51c9014827e0ec.tar.bz2
bridge: simpler hash with salt
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 <shemminger@linux-foundation.org>
Diffstat (limited to 'net/bridge/br_private.h')
0 files changed, 0 insertions, 0 deletions