When renaming a chain, either everything is in place already or the command will bail anyway. So just drop this superfluous call. Signed-off-by: Phil Sutter <phil@xxxxxx> --- iptables/nft.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/iptables/nft.c b/iptables/nft.c index 52ee809b6bc07..e3811f5fb20b0 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -1937,8 +1937,6 @@ int nft_chain_user_rename(struct nft_handle *h,const char *chain, return 0; } - nft_xt_builtin_init(h, table); - /* Config load changed errno. Ensure genuine info for our callers. */ errno = 0; -- 2.27.0