From: Jiri Pirko Date: Wed, 14 Nov 2012 02:51:04 +0000 (+0000) Subject: net: correct check in dev_addr_del() X-Git-Tag: v3.2.35~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff5d468a3f897811682442ae2a0e6b303679d8a6;p=pandora-kernel.git net: correct check in dev_addr_del() [ Upstream commit a652208e0b52c190e57f2a075ffb5e897fe31c3b ] Check (ha->addr == dev->dev_addr) is always true because dev_addr_init() sets this. Correct the check to behave properly on addr removal. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed