From d605c224b782b36a7a8e2542242c1352d11c9e24 Mon Sep 17 00:00:00 2001 From: Zhengchao Shao Date: Tue, 22 Aug 2023 11:03:37 +0800 Subject: [PATCH] netfilter: nat: fix kabi change hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7O0PV CVE: NA -------------------------------- fix kabi change Signed-off-by: Zhengchao Shao --- include/net/netfilter/nf_nat_l3proto.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/net/netfilter/nf_nat_l3proto.h b/include/net/netfilter/nf_nat_l3proto.h index 6e649db8bbec..cece34d0ec1c 100644 --- a/include/net/netfilter/nf_nat_l3proto.h +++ b/include/net/netfilter/nf_nat_l3proto.h @@ -22,6 +22,10 @@ struct nf_nat_l3proto { 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); + void (*decode_session)(struct sk_buff *skb, const struct nf_conn *ct, enum ip_conntrack_dir dir, -- GitLab