netfilter: nf_tables: typo NULL check in _clone() function
This should check for NULL in case memory allocation fails. Reported-by: NJulian Wiedmann <jwiedmann.dev@gmail.com> Fixes: 3b9e2ea6 ("netfilter: nft_limit: move stateful fields out of expression data") Fixes: 37f319f3 ("netfilter: nft_connlimit: move stateful fields out of expression data") Fixes: 33a24de3 ("netfilter: nft_last: move stateful fields out of expression data") Fixes: ed0a0c60 ("netfilter: nft_quota: move stateful fields out of expression data") Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org> Link: https://lore.kernel.org/r/20220110194817.53481-1-pablo@netfilter.orgSigned-off-by: NJakub Kicinski <kuba@kernel.org>
Showing
想要评论请 注册 或 登录