Commit adc532ba authored by Zhengchao Shao's avatar Zhengchao Shao
Browse files

net/sched: fix kabi change in struct Qdisc

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


CVE: CVE-2024-27010

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

Fix kabi change in struct Qdisc.

Fixes: 0f022d32c3ec ("net/sched: Fix mirred deadlock on device recursion")
Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
parent a699283e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -99,6 +99,8 @@ struct Qdisc {
	 * for 32-bit kernel.
	 */
	struct rcu_head         rcu;
	/* onwer will use 4 Bytes, and the space is enough.*/
	int			owner;
#endif
	/*
	 * For performance sake on SMP, we put highly modified fields at the end
@@ -108,7 +110,6 @@ struct Qdisc {
	struct gnet_stats_basic_packed bstats;
	seqcount_t		running;
	struct gnet_stats_queue	qstats;
	int			owner;
	unsigned long		state;
	struct Qdisc            *next_sched;
	struct sk_buff_head	skb_bad_txq;