summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authordingtianhong <dingtianhong@huawei.com>2014-03-07 18:45:31 +0800
committerDavid S. Miller <davem@davemloft.net>2014-03-09 19:03:51 -0400
commitbe14cc98e9fd5416cc8f86799913fd3c52dc720e (patch)
tree5c0418b64055785f5d1b62e59e880af394f93ba5 /drivers/net
parent375f67df2811aafbb68f5d4f3bd27396023b36dd (diff)
vlan: use use ether_addr_equal_64bits to instead of ether_addr_equal
Ether_addr_equal_64bits is more efficient than ether_addr_equal, and can be used when each argument is an array within a structure that contains at least two bytes of data beyond the array, so it is safe to use it for vlan, and make sense for fast path. Cc: Joe Perches <joe@perches.com> Cc: Patrick McHardy <kaber@trash.net> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions