Commit 6ee1c984 authored by Phil Sutter's avatar Phil Sutter Committed by Greg Kroah-Hartman
Browse files

netfilter: nf_tables: Introduce nf_tables_getrule_single()



[ Upstream commit 1578c328 ]

Outsource the reply skb preparation for non-dump getrule requests into a
distinct function. Prep work for rule reset locking.

Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Stable-dep-of: 9adbb419 ("netfilter: nf_tables: avoid false-positive lockdep splat on rule deletion")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1d0f811e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment