-
Notifications
You must be signed in to change notification settings - Fork 108
[Deepin-Kernel-SIG] [linux 6.6.y] [Deepin] Revert KABI fix changes. #1501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5b98837
2919523
6fe7c2d
16e1b06
2137602
f3e22f5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -186,6 +186,8 @@ struct fib6_info { | |
| refcount_t fib6_ref; | ||
| unsigned long expires; | ||
|
|
||
| struct hlist_node gc_link; | ||
|
|
||
| struct dst_metrics *fib6_metrics; | ||
| #define fib6_pmtu fib6_metrics->metrics[RTAX_MTU-1] | ||
|
|
||
|
|
@@ -211,7 +213,8 @@ struct fib6_info { | |
| struct rcu_head rcu; | ||
| struct nexthop *nh; | ||
|
|
||
| DEEPIN_KABI_USE(1, 2, struct hlist_node gc_link) | ||
| DEEPIN_KABI_RESERVE(1) | ||
| DEEPIN_KABI_RESERVE(2) | ||
|
Comment on lines
+216
to
+217
|
||
|
|
||
| struct fib6_nh fib6_nh[]; | ||
| }; | ||
|
|
@@ -411,7 +414,7 @@ struct fib6_table { | |
| struct inet_peer_base tb6_peers; | ||
| unsigned int flags; | ||
| unsigned int fib_seq; | ||
| DEEPIN_KABI_EXTEND(struct hlist_head tb6_gc_hlist) /* GC candidates */ | ||
| struct hlist_head tb6_gc_hlist; /* GC candidates */ | ||
| #define RT6_TABLE_HAS_DFLT_ROUTER BIT(0) | ||
| }; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
struct fwnode_operations: replacingDEEPIN_KABI_USE(1, ...)with a direct function pointer plusDEEPIN_KABI_RESERVE(1)means that whenCONFIG_DEEPIN_KABI_RESERVEis enabled the struct grows by an extraunsigned longslot (the reserve is no longer being “used”/replaced). If the intent is to keep the reserved-space model (perinclude/linux/deepin_kabi.hdocs for RESERVE/USE), consider switching back toDEEPIN_KABI_USE(1, ...)or droppingDEEPIN_KABI_RESERVE(1)here so the added member occupies the reserved space rather than appending new padding.