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: NStephen Hemminger <shemminger@linux-foundation.org>
Showing
想要评论请 注册 或 登录