diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-05-07 15:39:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-08 01:21:29 +0200 |
commit | 1c430a727fa512500a422ffe4712166c550ea06a (patch) | |
tree | 5027e4edc9c66a9e49e0e73ba866f5bb326fadcd /drivers | |
parent | cdc_ether: Ignore bogus union descriptor for RNDIS devices (diff) | |
download | linux-1c430a727fa512500a422ffe4712166c550ea06a.tar.xz linux-1c430a727fa512500a422ffe4712166c550ea06a.zip |
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 <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions