Commit f9592c26 authored by Ziyang Xuan's avatar Ziyang Xuan
Browse files

ipv6: fix kabi change in struct dst_ops

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I8ZGOZ


CVE: CVE-2023-52340

--------------------------------

Use KABI_REPLACE to fix kabi change in struct dst_ops.

Signed-off-by: default avatarZiyang Xuan <william.xuanziyang@huawei.com>
parent a2b1c94f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ struct dst_ops {
	unsigned short		family;
	unsigned int		gc_thresh;

	void			(*gc)(struct dst_ops *ops);
	KABI_REPLACE(int (*gc)(struct dst_ops *ops), void (*gc)(struct dst_ops *ops))
	struct dst_entry *	(*check)(struct dst_entry *, __u32 cookie);
	unsigned int		(*default_advmss)(const struct dst_entry *);
	unsigned int		(*mtu)(const struct dst_entry *);