netfilter: nft_ct: include direction when dumping NFT_CT_L3PROTOCOL key
Subsystems (2)
Florian Westphal
maintainerPATCH 1/1 netfilter: nft_ct: include direction when dumping NFT_CT_L3PROTOCOL key
one nft userspace test case fails with
'ct l3proto original ipv4' mismatches 'ct l3proto ipv4'
... because NFTA_CT_DIRECTION attr is missing.
Signed-off-by Florian Westphal <[email protected]>
---
net/netfilter/nft_ct.c +1 -0
@@ -366,6 +366,7 @@ static int nft_ct_get_dump(struct sk_buff *skb, const struct nft_expr *expr) goto nla_put_failure;switch (priv->key) { +case NFT_CT_L3PROTOCOL :case NFT_CT_PROTOCOL :case NFT_CT_SRC :case NFT_CT_DST :
Signature · 1 line
2.4.10
Quoted 5 lines · Florian Westphal
one nft userspace test case fails with
'ct l3proto original ipv4' mismatches 'ct l3proto ipv4'
... because
NFTA_CT_DIRECTIONattr is missing.
Applied, thanks Florian.