Skip to content
Commit 0d18779b authored by JingPiao Chen's avatar JingPiao Chen Committed by Pablo Neira Ayuso
Browse files

netfilter: nf_tables: fix update chain error



 # nft add table filter
 # nft add chain filter c1
 # nft rename chain filter c1 c2

Error: Could not process rule: No such file or directory
rename chain filter c1 c2
^^^^^^^^^^^^^^^^^^^^^^^^^^

 # nft add chain filter c2
 # nft rename chain filter c1 c2
 # nft list table filter

table ip filter {
	chain c2 {
	}

	chain c2 {
	}
}

Fixes: 664b0f8c ("netfilter: nf_tables: add generation mask to chains")
Signed-off-by: default avatarJingPiao Chen <chenjingpiao@gmail.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent e5173418
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment