From: Noa Osherovich Date: Tue, 8 Jul 2014 08:25:24 +0000 (+0300) Subject: net/mlx4_en: Fix mac_hash database inconsistency X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~203^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2695bab2a6a18f31839c4e862eba3b450c0d2868;p=pandora-kernel.git net/mlx4_en: Fix mac_hash database inconsistency Using a local copy of dev_addr in mlx4_en_set_mac() to prevent dev_addr from being modified during error flow or when dev_addr is modified in another context (which is another problem that is being discussed over the mailing list [1]). Also fixing bad naming of priv->prev_mac into priv->current_mac. [1] - http://patchwork.ozlabs.org/patch/351489/ Reviewed-by: Eyal Perry Signed-off-by: Noa Osherovich Signed-off-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed