]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: bridge: refactor clearing BRNF_NF_BRIDGE_PREROUTING
authorBernhard Thaler <bernhard.thaler@wvnet.at>
Sat, 30 May 2015 13:26:13 +0000 (15:26 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 12 Jun 2015 12:07:53 +0000 (14:07 +0200)
commitd39a33ed9b9ac0939a5b2ddc4dd3d283373bbe89
tree24154931b77e4c654816e32a64040eacd6450eb0
parent779668450a990d402d316ffd9b7b103fbe5ab6f3
netfilter: bridge: refactor clearing BRNF_NF_BRIDGE_PREROUTING

use binary AND on complement of BRNF_NF_BRIDGE_PREROUTING to unset
bit in nf_bridge->mask.

Signed-off-by: Bernhard Thaler <bernhard.thaler@wvnet.at>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/bridge/br_netfilter.c