etherdevice.h & bridge: netfilter: Add and use ether_addr_equal_masked
authorJoe Perches <joe@perches.com>
Fri, 24 Jun 2016 18:32:26 +0000 (11:32 -0700)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 1 Jul 2016 14:37:06 +0000 (16:37 +0200)
commit4ae89ad92477219b504a49966ee010fe8dcb85af
tree6f276cd42d61899ce9f6952c87361c059295790f
parent468b021b944922e8fe0a30b6b6e0532bb95e4edc
etherdevice.h & bridge: netfilter: Add and use ether_addr_equal_masked

There are code duplications of a masked ethernet address comparison here
so make it a separate function instead.

Miscellanea:

o Neaten alignment of FWINV macro uses to make it clearer for the reader

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/etherdevice.h
net/bridge/netfilter/ebt_arp.c
net/bridge/netfilter/ebt_stp.c
net/bridge/netfilter/ebtables.c