Skip to content

Commit 0ed6389

Browse files
committed
netfilter: nf_tables: rename set implementations
Use nft_set_* prefix for backend set implementations, thus we can use nft_hash for the new hash expression. Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent a6c46d9 commit 0ed6389

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

net/netfilter/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,13 +481,13 @@ config NFT_CT
481481
This option adds the "meta" expression that you can use to match
482482
connection tracking information such as the flow state.
483483

484-
config NFT_RBTREE
484+
config NFT_SET_RBTREE
485485
tristate "Netfilter nf_tables rbtree set module"
486486
help
487487
This option adds the "rbtree" set type (Red Black tree) that is used
488488
to build interval-based sets.
489489

490-
config NFT_HASH
490+
config NFT_SET_HASH
491491
tristate "Netfilter nf_tables hash set module"
492492
help
493493
This option adds the "hash" set type that is used to build one-way

net/netfilter/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ obj-$(CONFIG_NFT_NAT) += nft_nat.o
8686
obj-$(CONFIG_NFT_QUEUE) += nft_queue.o
8787
obj-$(CONFIG_NFT_REJECT) += nft_reject.o
8888
obj-$(CONFIG_NFT_REJECT_INET) += nft_reject_inet.o
89-
obj-$(CONFIG_NFT_RBTREE) += nft_rbtree.o
90-
obj-$(CONFIG_NFT_HASH) += nft_hash.o
89+
obj-$(CONFIG_NFT_SET_RBTREE) += nft_set_rbtree.o
90+
obj-$(CONFIG_NFT_SET_HASH) += nft_set_hash.o
9191
obj-$(CONFIG_NFT_COUNTER) += nft_counter.o
9292
obj-$(CONFIG_NFT_LOG) += nft_log.o
9393
obj-$(CONFIG_NFT_MASQ) += nft_masq.o
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)