[NET]: Slightly optimize ethernet address comparison.
authorDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2005 23:03:05 +0000 (16:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Sep 2005 23:03:05 +0000 (16:03 -0700)
commitba645c16026ed733a51f904df34756f61bc155fc
tree504d51adf47bb9fa3cd548e5594f15a60faeba6c
parent2fab35d78f32fc107e1af4b1ec23f557fa20d911
[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>
net/ethernet/eth.c