Commit 4bbe8536 authored by Jose M. Guisado Gomez's avatar Jose M. Guisado Gomez Committed by Greg Kroah-Hartman
Browse files

netfilter: nft_reject: unify reject init and dump into nft_reject



[ Upstream commit 312ca575 ]

Bridge family is using the same static init and dump function as inet.

This patch removes duplicate code unifying these functions body into
nft_reject.c so they can be reused in the rest of families supporting
reject verdict.

Signed-off-by: default avatarJose M. Guisado Gomez <guigom@riseup.net>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Stable-dep-of: 91a79b79 ("netfilter: nf_reject: don't leak dst refcount for loopback packets")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 27d0ed38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment