commit | ba645c16026ed733a51f904df34756f61bc155fc | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Tue Sep 27 16:03:05 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 27 16:03:05 2005 -0700 |
tree | 504d51adf47bb9fa3cd548e5594f15a60faeba6c | |
parent | 2fab35d78f32fc107e1af4b1ec23f557fa20d911 [diff] |
[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>