Commit 50d74e22 authored by Liu Jian's avatar Liu Jian
Browse files

net: fix kabi breakage in struct dst_ops

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


CVE: CVE-2024-36971

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

Fix kabi breakage in struct dst_ops.

Fixes: 92f1655aa2b2 ("net: fix __dst_negative_advice() race")
Signed-off-by: default avatarLiu Jian <liujian56@huawei.com>
parent ae1701a7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -25,7 +25,11 @@ struct dst_ops {
	void			(*destroy)(struct dst_entry *);
	void			(*ifdown)(struct dst_entry *,
					  struct net_device *dev, int how);
#ifdef __GENKSYMS__
	struct dst_entry *	(*negative_advice)(struct dst_entry *);
#else
	void			(*negative_advice)(struct sock *sk, struct dst_entry *);
#endif
	void			(*link_failure)(struct sk_buff *);
	void			(*update_pmtu)(struct dst_entry *dst, struct sock *sk,
					       struct sk_buff *skb, u32 mtu,