Commit 6cdefbb
net: netpoll: Fix kabi in netpoll by using KABI_EXTEND
deepin inclusion
category: kabi
When DEEPIN_KABI_RESERVE=y, struct net_device is kabi whitelist,
commit dc67d67a995e ("net: netpoll: Individualize the skb pool")
upstream introduce skb_pool in every struct netpoll which
"modify the netpoll system to assign a skb pool to each target instead of
using a global one."
and be backport to v6.6.117 stable version for it is Stable-dep-of
commit 49c8d2c ("net: netpoll: fix incorrect refcount handling causing incorrect cleanup")
change struct netpoll { ... +struct sk_buff_head skb_pool; }
->change netpoll_info { ... struct netpoll *netpoll; }
->change net_device { struct netpoll_info *npinfo; }
->change some EXPORT_SYMBOL such as free_netdev etc ...
in our KABI whitelist.
The struct sk_buff_head { struct sk_buff *next;
struct sk_buff *prev; .. } is larger than KABI reverse in the struct,
so cannot use KABI_USE in this situation.
For netpoll pointer after change is same as before and use internal.
We can use DEEPIN_KABI_EXTEND to fix it.
Fixes: ca946ee ("net: netpoll: Individualize the skb pool")
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent ab0f9b7 commit 6cdefbb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments