mbox series

[v2,0/2] net: nftables: Simplify set backend selection

Message ID 20180403211540.23700-1-phil@nwl.cc
Headers show
Series net: nftables: Simplify set backend selection | expand

Message

Phil Sutter April 3, 2018, 9:15 p.m. UTC
This changes set backend integration as discussed in patch 1 and adds a
bit of debugging facility in patch 2.

Changes since v1:
- Rebased onto current nf-next.git master branch.
- Resolved merge conflict in patch 1 and adjusted commit message
  accordingly.
- Patch 2 applied cleanly.

Phil Sutter (2):
  net: nftables: Simplify set backend selection
  net: nftables: Export set backend name via netlink

 include/net/netfilter/nf_tables.h        |  36 ++++---
 include/uapi/linux/netfilter/nf_tables.h |   2 +
 net/netfilter/nf_tables_api.c            |  28 +++---
 net/netfilter/nft_set_bitmap.c           |  35 ++++---
 net/netfilter/nft_set_hash.c             | 156 +++++++++++++++++--------------
 net/netfilter/nft_set_rbtree.c           |  37 ++++----
 6 files changed, 151 insertions(+), 143 deletions(-)