forked from rubenslte/android_kernel_samsung_msm8226
netfilter: xt_rpfilter: depend on raw or mangle table
rpfilter is only valid in raw/mangle PREROUTING, i.e. RPFILTER=y|m is useless without raw or mangle table support. Change-Id: Iaea117d9c075ecb9a36bc5c625f8c148b3ff5fdd Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
This commit is contained in:
committed by
Francescodario Cuzzocrea
parent
fb3cd2cc81
commit
c95f4025ac
@@ -71,7 +71,7 @@ config IP_NF_MATCH_ECN
|
||||
|
||||
config IP_NF_MATCH_RPFILTER
|
||||
tristate '"rpfilter" reverse path filter match support'
|
||||
depends on NETFILTER_ADVANCED
|
||||
depends on NETFILTER_ADVANCED && (IP_NF_MANGLE || IP_NF_RAW)
|
||||
---help---
|
||||
This option allows you to match packets whose replies would
|
||||
go out via the interface the packet came in.
|
||||
|
||||
@@ -117,7 +117,7 @@ config IP6_NF_MATCH_MH
|
||||
|
||||
config IP6_NF_MATCH_RPFILTER
|
||||
tristate '"rpfilter" reverse path filter match support'
|
||||
depends on NETFILTER_ADVANCED
|
||||
depends on NETFILTER_ADVANCED && (IP6_NF_MANGLE || IP6_NF_RAW)
|
||||
---help---
|
||||
This option allows you to match packets whose replies would
|
||||
go out via the interface the packet came in.
|
||||
|
||||
Reference in New Issue
Block a user