]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06f3890ac3d5ec3a231826364697041b3ba80a20
tree6f276cd42d61899ce9f6952c87361c059295790f
parent2ff9576caea6e6639d1bb1b7b6dcd1283fdf56d9
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