Fix documentation for bpf_skb_pull_data() helper for when len == 0.
Showing the changes to tools/include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -2361,7 +2361,8 @@ union bpf_attr { · 2360 unmodified lines | |||
| 2361 | * Pull in non-linear data in case the *skb* is non-linear and not | 2361 | * Pull in non-linear data in case the *skb* is non-linear and not |
| 2362 | * all of *len* are part of the linear section. Make *len* bytes | 2362 | * all of *len* are part of the linear section. Make *len* bytes |
| 2363 | * from *skb* readable and writable. If a zero value is passed for | 2363 | * from *skb* readable and writable. If a zero value is passed for |
| 2364 | * *len*, then the whole length of the *skb* is pulled. | 2364 | * *len*, then all bytes in the linear part of *skb* will be made |
| 2365 | * readable and writable. | ||
| 2365 | * | 2366 | * |
| 2366 | * This helper is only needed for reading and writing with direct | 2367 | * This helper is only needed for reading and writing with direct |
| 2367 | * packet access. | 2368 | * packet access. |