mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
netfilter: nf_tables: fix chain filter in nf_tables_dump_rules()
[ Upstream commit24c0df82ef] ctx->chain may be null now that we have very large object names, so we cannot check for ctx->chain[0] here. Fixes:b7263e071a("netfilter: nf_tables: Allow table names of up to 255 chars") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Acked-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
def8d0ae4a
commit
e2f52fa3f8
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue