diff options
author | David S. Miller <davem@davemloft.net> | 2005-09-28 01:03:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-28 01:03:05 +0200 |
commit | ba645c16026ed733a51f904df34756f61bc155fc (patch) | |
tree | 504d51adf47bb9fa3cd548e5594f15a60faeba6c /net/appletalk | |
parent | [NET]: Fix GCC4 compile error: sysctl in linux/if_ether.h (diff) | |
download | linux-ba645c16026ed733a51f904df34756f61bc155fc.tar.xz linux-ba645c16026ed733a51f904df34756f61bc155fc.zip |
[NET]: Slightly optimize ethernet address comparison.
We know the thing is at least 2-byte aligned, so take
advantage of that instead of invoking memcmp() which
results in truly horrifically inefficient code because
it can't assume anything about alignment.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions