summaryrefslogtreecommitdiff
path: root/net/smc
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-08-20 18:54:06 +0300
committerFlorian Westphal <fw@strlen.de>2022-08-23 22:24:34 +0300
commit18bbc3213383a82b05383827f4b1b882e3f0a5a5 (patch)
tree26006a63f818301339915afbd8bfe501c8602a81 /net/smc
parentcf97769c761abfeac8931b35fe0e1a8d5fabc9d8 (diff)
downloadlinux-18bbc3213383a82b05383827f4b1b882e3f0a5a5.tar.xz
netfilter: nft_tproxy: restrict to prerouting hook
TPROXY is only allowed from prerouting, but nft_tproxy doesn't check this. This fixes a crash (null dereference) when using tproxy from e.g. output. Fixes: 4ed8eb6570a4 ("netfilter: nf_tables: Add native tproxy support") Reported-by: Shell Chen <xierch@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions