Commit 5e3fee3
committed
Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
Martin KaFai Lau says:
====================
pull-request: bpf-next 2025-09-23
We've added 9 non-merge commits during the last 33 day(s) which contain
a total of 10 files changed, 480 insertions(+), 53 deletions(-).
The main changes are:
1) A new bpf_xdp_pull_data kfunc that supports pulling data from
a frag into the linear area of a xdp_buff, from Amery Hung.
This includes changes in the xdp_native.bpf.c selftest, which
Nimrod's future work depends on.
It is a merge from a stable branch 'xdp_pull_data' which has
also been merged to bpf-next.
There is a conflict with recent changes in 'include/net/xdp.h'
in the net-next tree that will need to be resolved.
2) A compiler warning fix when CONFIG_NET=n in the recent dynptr
skb_meta support, from Jakub Sitnicki.
* tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next:
selftests: drv-net: Pull data before parsing headers
selftests/bpf: Test bpf_xdp_pull_data
bpf: Support specifying linear xdp packet data size for BPF_PROG_TEST_RUN
bpf: Make variables in bpf_prog_test_run_xdp less confusing
bpf: Clear packet pointers after changing packet data in kfuncs
bpf: Support pulling non-linear xdp data
bpf: Allow bpf_xdp_shrink_data to shrink a frag from head and tail
bpf: Clear pfmemalloc flag when freeing all fragments
bpf: Return an error pointer for skb metadata when CONFIG_NET=n
====================
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>File tree
10 files changed
+480
-53
lines changed- include
- linux
- net
- kernel/bpf
- net
- bpf
- core
- tools/testing/selftests
- bpf
- prog_tests
- progs
- net/lib
10 files changed
+480
-53
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1822 | 1822 | | |
1823 | 1823 | | |
1824 | 1824 | | |
1825 | | - | |
| 1825 | + | |
1826 | 1826 | | |
1827 | 1827 | | |
1828 | 1828 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
139 | 144 | | |
140 | 145 | | |
141 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
170 | 180 | | |
171 | 181 | | |
172 | 182 | | |
| |||
389 | 399 | | |
390 | 400 | | |
391 | 401 | | |
392 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
393 | 407 | | |
| 408 | + | |
394 | 409 | | |
395 | 410 | | |
396 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12239 | 12239 | | |
12240 | 12240 | | |
12241 | 12241 | | |
| 12242 | + | |
12242 | 12243 | | |
12243 | 12244 | | |
12244 | 12245 | | |
| |||
12289 | 12290 | | |
12290 | 12291 | | |
12291 | 12292 | | |
| 12293 | + | |
12292 | 12294 | | |
12293 | 12295 | | |
12294 | 12296 | | |
12295 | 12297 | | |
| 12298 | + | |
12296 | 12299 | | |
12297 | 12300 | | |
12298 | 12301 | | |
| |||
12362 | 12365 | | |
12363 | 12366 | | |
12364 | 12367 | | |
| 12368 | + | |
| 12369 | + | |
| 12370 | + | |
| 12371 | + | |
| 12372 | + | |
12365 | 12373 | | |
12366 | 12374 | | |
12367 | 12375 | | |
| |||
14081 | 14089 | | |
14082 | 14090 | | |
14083 | 14091 | | |
| 14092 | + | |
| 14093 | + | |
| 14094 | + | |
14084 | 14095 | | |
14085 | 14096 | | |
14086 | 14097 | | |
| |||
17798 | 17809 | | |
17799 | 17810 | | |
17800 | 17811 | | |
| 17812 | + | |
| 17813 | + | |
17801 | 17814 | | |
17802 | 17815 | | |
17803 | 17816 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
668 | | - | |
| 668 | + | |
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| |||
1001 | 1001 | | |
1002 | 1002 | | |
1003 | 1003 | | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
1004 | 1007 | | |
1005 | 1008 | | |
1006 | 1009 | | |
| |||
1207 | 1210 | | |
1208 | 1211 | | |
1209 | 1212 | | |
| 1213 | + | |
| 1214 | + | |
1210 | 1215 | | |
1211 | | - | |
1212 | | - | |
1213 | 1216 | | |
1214 | 1217 | | |
1215 | 1218 | | |
| |||
1246 | 1249 | | |
1247 | 1250 | | |
1248 | 1251 | | |
1249 | | - | |
| 1252 | + | |
1250 | 1253 | | |
1251 | 1254 | | |
1252 | 1255 | | |
1253 | 1256 | | |
1254 | 1257 | | |
1255 | 1258 | | |
1256 | | - | |
1257 | 1259 | | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
| 1260 | + | |
| 1261 | + | |
1264 | 1262 | | |
1265 | 1263 | | |
1266 | | - | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
1267 | 1275 | | |
1268 | 1276 | | |
1269 | 1277 | | |
1270 | 1278 | | |
1271 | 1279 | | |
1272 | 1280 | | |
1273 | | - | |
| 1281 | + | |
1274 | 1282 | | |
1275 | | - | |
| 1283 | + | |
1276 | 1284 | | |
1277 | 1285 | | |
1278 | 1286 | | |
1279 | 1287 | | |
1280 | 1288 | | |
1281 | 1289 | | |
| 1290 | + | |
1282 | 1291 | | |
1283 | 1292 | | |
1284 | 1293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4153 | 4153 | | |
4154 | 4154 | | |
4155 | 4155 | | |
4156 | | - | |
4157 | | - | |
| 4156 | + | |
| 4157 | + | |
4158 | 4158 | | |
4159 | | - | |
| 4159 | + | |
| 4160 | + | |
4160 | 4161 | | |
4161 | 4162 | | |
4162 | | - | |
4163 | | - | |
| 4163 | + | |
4164 | 4164 | | |
4165 | | - | |
| 4165 | + | |
| 4166 | + | |
| 4167 | + | |
| 4168 | + | |
4166 | 4169 | | |
| 4170 | + | |
| 4171 | + | |
4167 | 4172 | | |
4168 | 4173 | | |
4169 | 4174 | | |
4170 | | - | |
| 4175 | + | |
4171 | 4176 | | |
4172 | 4177 | | |
4173 | 4178 | | |
| 4179 | + | |
| 4180 | + | |
4174 | 4181 | | |
4175 | 4182 | | |
4176 | | - | |
4177 | | - | |
| 4183 | + | |
| 4184 | + | |
4178 | 4185 | | |
4179 | 4186 | | |
4180 | | - | |
4181 | | - | |
| 4187 | + | |
| 4188 | + | |
| 4189 | + | |
| 4190 | + | |
| 4191 | + | |
| 4192 | + | |
| 4193 | + | |
4182 | 4194 | | |
4183 | | - | |
4184 | 4195 | | |
4185 | 4196 | | |
4186 | 4197 | | |
| |||
4198 | 4209 | | |
4199 | 4210 | | |
4200 | 4211 | | |
4201 | | - | |
| 4212 | + | |
4202 | 4213 | | |
4203 | | - | |
4204 | | - | |
4205 | | - | |
4206 | | - | |
4207 | 4214 | | |
4208 | 4215 | | |
4209 | 4216 | | |
4210 | 4217 | | |
4211 | 4218 | | |
4212 | 4219 | | |
| 4220 | + | |
4213 | 4221 | | |
4214 | 4222 | | |
4215 | 4223 | | |
| |||
12205 | 12213 | | |
12206 | 12214 | | |
12207 | 12215 | | |
| 12216 | + | |
| 12217 | + | |
| 12218 | + | |
| 12219 | + | |
| 12220 | + | |
| 12221 | + | |
| 12222 | + | |
| 12223 | + | |
| 12224 | + | |
| 12225 | + | |
| 12226 | + | |
| 12227 | + | |
| 12228 | + | |
| 12229 | + | |
| 12230 | + | |
| 12231 | + | |
| 12232 | + | |
| 12233 | + | |
| 12234 | + | |
| 12235 | + | |
| 12236 | + | |
| 12237 | + | |
| 12238 | + | |
| 12239 | + | |
| 12240 | + | |
| 12241 | + | |
| 12242 | + | |
| 12243 | + | |
| 12244 | + | |
| 12245 | + | |
| 12246 | + | |
| 12247 | + | |
| 12248 | + | |
| 12249 | + | |
| 12250 | + | |
| 12251 | + | |
| 12252 | + | |
| 12253 | + | |
| 12254 | + | |
| 12255 | + | |
| 12256 | + | |
| 12257 | + | |
| 12258 | + | |
| 12259 | + | |
| 12260 | + | |
| 12261 | + | |
| 12262 | + | |
| 12263 | + | |
| 12264 | + | |
| 12265 | + | |
| 12266 | + | |
| 12267 | + | |
| 12268 | + | |
| 12269 | + | |
| 12270 | + | |
| 12271 | + | |
| 12272 | + | |
| 12273 | + | |
| 12274 | + | |
| 12275 | + | |
| 12276 | + | |
| 12277 | + | |
| 12278 | + | |
| 12279 | + | |
| 12280 | + | |
| 12281 | + | |
| 12282 | + | |
| 12283 | + | |
| 12284 | + | |
| 12285 | + | |
| 12286 | + | |
| 12287 | + | |
| 12288 | + | |
| 12289 | + | |
| 12290 | + | |
| 12291 | + | |
| 12292 | + | |
| 12293 | + | |
| 12294 | + | |
| 12295 | + | |
| 12296 | + | |
| 12297 | + | |
| 12298 | + | |
| 12299 | + | |
| 12300 | + | |
| 12301 | + | |
| 12302 | + | |
| 12303 | + | |
| 12304 | + | |
| 12305 | + | |
| 12306 | + | |
| 12307 | + | |
12208 | 12308 | | |
12209 | 12309 | | |
12210 | 12310 | | |
| |||
12232 | 12332 | | |
12233 | 12333 | | |
12234 | 12334 | | |
| 12335 | + | |
12235 | 12336 | | |
12236 | 12337 | | |
12237 | 12338 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
| 100 | + | |
103 | 101 | | |
104 | 102 | | |
105 | 103 | | |
| |||
0 commit comments