summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-02-19 17:38:24 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-27 10:53:35 +0100
commit03fe5efc4c9c8c7157092d0cbb5d1bbea629ce48 (patch)
treee5c75b3c8ea1eb4ccf623f94983c1b2df0752875 /include/net
parent2e666b229d97a9cdbc9fe571737eb297e7232098 (diff)
downloadlinux-03fe5efc4c9c8c7157092d0cbb5d1bbea629ce48.tar.bz2
netfilter: nat: remove csum_update hook
We can now use direct calls. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/nf_nat_l3proto.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/netfilter/nf_nat_l3proto.h b/include/net/netfilter/nf_nat_l3proto.h
index 62ef15eb7594..c1123030c94f 100644
--- a/include/net/netfilter/nf_nat_l3proto.h
+++ b/include/net/netfilter/nf_nat_l3proto.h
@@ -5,11 +5,6 @@
struct nf_nat_l3proto {
u8 l3proto;
- void (*csum_update)(struct sk_buff *skb, unsigned int iphdroff,
- __sum16 *check,
- const struct nf_conntrack_tuple *t,
- enum nf_nat_manip_type maniptype);
-
void (*csum_recalc)(struct sk_buff *skb, u8 proto,
void *data, __sum16 *check,
int datalen, int oldlen);