From: Eyal Perry Date: Tue, 22 Jul 2014 12:44:09 +0000 (+0300) Subject: net/mlx4_en: current_mac isn't updated in port up X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~103^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b94901f3ede8fa5ea334f59bf947eba7d0cb24f3;p=pandora-kernel.git net/mlx4_en: current_mac isn't updated in port up When port is down dev_addr is changed (e.g. by bonding) but current_mac is not touched. When port is up again, hash_mac is updated to dev_addr, but current_mac isn't. This leads to inconsistency between current_mac and mac_hash. Because of that, mlx4_en_replace_mac() fails to find current_mac in mac_hash. Fix is to reset current_mac to dev_addr when port is up - as we do for mac_hash. Signed-off-by: Eyal Perry Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed