Commit dbb4182f 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 f46b9aed
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@ struct dst_ops {
	void			(*destroy)(struct dst_entry *);
	void			(*ifdown)(struct dst_entry *,
					  struct net_device *dev, int how);
	void			(*negative_advice)(struct sock *sk, struct dst_entry *);
	KABI_REPLACE(struct dst_entry *	(*negative_advice)(struct dst_entry *),
		     void (*negative_advice)(struct sock *sk, struct dst_entry *))
	void			(*link_failure)(struct sk_buff *);
	void			(*update_pmtu)(struct dst_entry *dst, struct sock *sk,
					       struct sk_buff *skb, u32 mtu,