]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'addr_compare'
authorDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2013 21:48:37 +0000 (16:48 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2013 21:48:37 +0000 (16:48 -0500)
commit2a586748d68d8987797c32a0c19f0051651c2597
tree8686c3643858ecbd18090614623169397dcc2992
parent1710d0b07f285a80f0f43b58fe931a714599e6d4
parentb29ece1444daf9f6bb9ebc3ee323fed4d715b970
Merge branch 'addr_compare'

Ding Tianhong says:

====================
slight optimization of addr compare for net modules

This is the second patchset for slight optimization of address compare,
mainly for net tree, just following the Joe's opinion, it will help review
the code for maintainers and supports.

v2: Change some style for patch 2.
    According Eric's suggestion, use the ether_addr_equal_64bits to instead
    of ether_addr_equal for patch 19.
    In fact, there are a lot of places which could use ether_addr_equal_64bits
    to instead of ether_addr_equal, but not this time, thanks for Joe's
    opinion.

v3: Change some style for patch 11/19:
    (net: packetengines: slight optimization of addr compare).
    Joe pointed out that is_broadcast_ether_addr(addr) would be appropriate here,
    but this should be left alone and not in this patch, so fix it later.

    In the patch (net: caif: slight optimization of addr compare), the operand for
    memcmp is not mac address, so it is unsuitable to use the ether_addr_equal
    to compare a non mac address, so remove the patch from the series.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>