From: Eric Dumazet Date: Thu, 7 Feb 2013 16:41:02 +0000 (+0000) Subject: macvlan: add a salt to mc_hash() X-Git-Tag: v3.9-rc1~139^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3807ff5899f892abb4f06747c245fd648a2acdc5;p=pandora-kernel.git macvlan: add a salt to mc_hash() Some multicast addresses are common to all macvlans, so if a multicast message has a hash value collision, we have to deliver a copy to all macvlans, adding significant latency and possible packet drops if netdev_max_backlog limit is hit. Having a per macvlan hash function permits to reduce the impact of hash collisions. Suggested-by: Maciej Żenczykowski Signed-off-by: Eric Dumazet Signed-off-by: Maciej Żenczykowski Signed-off-by: David S. Miller --- Reading git-diff-tree failed