From: Johannes Berg Date: Mon, 7 May 2012 13:39:06 +0000 (+0200) Subject: net: compare_ether_addr[_64bits]() has no ordering X-Git-Tag: v3.4-rc7~4^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c430a727fa512500a422ffe4712166c550ea06a;p=pandora-kernel.git net: compare_ether_addr[_64bits]() has no ordering Neither compare_ether_addr() nor compare_ether_addr_64bits() (as it can fall back to the former) have comparison semantics like memcmp() where the sign of the return value indicates sort order. We had a bug in the wireless code due to a blind memcmp replacement because of this. A cursory look suggests that the wireless bug was the only one due to this semantic difference. Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- Reading git-diff-tree failed