aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2023-03-15 21:48:02 +0000
committerFlorian Westphal <fw@strlen.de>2023-03-22 21:48:59 +0100
commitf6ca5d5ed7ecee1ff4721565fb5a276884d1e785 (patch)
tree40636acbc768e8bd0c6d873c6db85f4992a67e1e /net/ipv6/tcp_ipv6.c
parent6f56ad1b92328997e1b1792047099df6f8d7acb5 (diff)
downloadlinux-f6ca5d5ed7ecee1ff4721565fb5a276884d1e785.tar.gz
linux-f6ca5d5ed7ecee1ff4721565fb5a276884d1e785.tar.bz2
linux-f6ca5d5ed7ecee1ff4721565fb5a276884d1e785.zip
netfilter: nft_masq: deduplicate eval call-backs
nft_masq has separate ipv4 and ipv6 call-backs which share much of their code, and an inet one switch containing a switch that calls one of the others based on the family of the packet. Merge the ipv4 and ipv6 ones into the inet one in order to get rid of the duplicate code. Const-qualify the `priv` pointer since we don't need to write through it. Signed-off-by: Jeremy Sowden <jeremy@azazel.net> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions