netfilter: nft_bitwise: add offload support
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 30 Jul 2019 11:32:01 +0000 (13:32 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 13 Aug 2019 10:10:01 +0000 (12:10 +0200)
commitbd8699e9e29287b5571b32b68c3dcd05985fa9b1
tree21bd8198e48a23bf9e86104000915196dc9fa3d6
parent7e59b3fea2a2510b52761c20ccc71d3e9f6b7db8
netfilter: nft_bitwise: add offload support

Extract mask from bitwise operation and store it into the corresponding
context register so the cmp instruction can set the mask accordingly.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_bitwise.c