netfilter: nf_tables: typo NULL check in _clone() function
This should check for NULL in case memory allocation fails. Reported-by: Julian 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: Pablo Neira Ayuso <pablo@netfilter.org> Link: https://lore.kernel.org/r/20220110194817.53481-1-pablo@netfilter.orgSigned-off-by: Jakub Kicinski <kuba@kernel.org>
Showing
Please register or sign in to comment