Skip to content

netfilter: bitwise: support variable RHS operands

Jeremy Sowden netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netfilter: bitwise: use more descriptive variable-names.net/netfilter/nft_bitwise.c+7 -70 replies
2/2netfilter: bitwise: add support for passing mask and xor values in registers.include/uapi/linux/netfilter/nf_tables.h net/netfilter/nft_bitwise.c+93 -290 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH nf-next 0/2] netfilter: bitwise: support variable RHS operands

Currently bitwise boolean operations can only have one variable operand because the mask and xor values have to be passed as immediate data. Support operations with two variable operands by allowing the mask and xor to be passed in registers.

There is a preliminary patch that renames a couple of variables.

Jeremy Sowden (2):
netfilter: bitwise: use more descriptive variable-names.
netfilter: bitwise: add support for passing mask and xor values in
registers.

 include/uapi/linux/netfilter/nf_tables.h |   4 +
 net/netfilter/nft_bitwise.c              | 120 +++++++++++++++++------
 2 files changed, 94 insertions(+), 30 deletions(-)
Signature · 1 line
2.25.0