aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2020-01-01 13:41:32 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2020-01-16 15:51:14 +0100
commit4a7faaf4add3108522512c16c9ee08fb2ad4525e (patch)
tree665470f16d1aed6807b3ddb5fefa2449ca387259 /net
parentsfc: remove duplicated include from efx.c (diff)
downloadlinux-dev-4a7faaf4add3108522512c16c9ee08fb2ad4525e.tar.xz
linux-dev-4a7faaf4add3108522512c16c9ee08fb2ad4525e.zip
netfilter: nft_bitwise: correct uapi header comment.
The comment documenting how bitwise expressions work includes a table which summarizes the mask and xor arguments combined to express the supported boolean operations. However, the row for OR: mask xor 0 x is incorrect. dreg = (sreg & 0) ^ x is not equivalent to: dreg = sreg | x What the code actually does is: dreg = (sreg & ~x) ^ x Update the documentation to match. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions