Commit 708edde
committed
deepin: bpf: Fix kabi in bpf_map_owner by using KABI_EXTEND
deepin inclusion
category: kabi
When DEEPIN_KABI_RESERVE=y, struct bpf_map is kabi whitelist, commit
bcb8170 ("bpf: Enforce expected_attach_type for tailcall compatibility")
upstream introduce expected_attach_type in bpf_map_owner to enforce
expected_attach_type for tailcall compatibility and backport to v6.6.112.
As expected_attach_type use internal and bpf_map_owner used by pointer.
We can use DEEPIN_KABI_EXTEND to fix it.
Fixes: bcb8170 ("bpf: Enforce expected_attach_type for tailcall compatibility")
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent 85d1c1a commit 708edde
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
0 commit comments