diff options
author | David S. Miller <davem@davemloft.net> | 2005-09-27 16:03:05 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-27 16:03:05 -0700 |
commit | ba645c16026ed733a51f904df34756f61bc155fc (patch) | |
tree | 504d51adf47bb9fa3cd548e5594f15a60faeba6c /lib/crc32.c | |
parent | 2fab35d78f32fc107e1af4b1ec23f557fa20d911 (diff) | |
download | linux-ba645c16026ed733a51f904df34756f61bc155fc.tar.gz linux-ba645c16026ed733a51f904df34756f61bc155fc.tar.bz2 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 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions