Skip to content

Commit d41acb5

Browse files
liu-song-6kernel-patches-bot
authored andcommitted
This should be "current" not "skb".
Fixes: c6b5fb8 ("bpf: add documentation for eBPF helpers (42-50)") Cc: <[email protected]> Signed-off-by: Song Liu <[email protected]> --- include/uapi/linux/bpf.h | 4 ++-- tools/include/uapi/linux/bpf.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
1 parent fd6c2d3 commit d41acb5

File tree

2 files changed

+4
-4
lines changed
  • include/uapi/linux
  • tools/include/uapi/linux

2 files changed

+4
-4
lines changed

include/uapi/linux/bpf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,8 +1447,8 @@ union bpf_attr {
14471447
* Return
14481448
* The return value depends on the result of the test, and can be:
14491449
*
1450-
* * 0, if the *skb* task belongs to the cgroup2.
1451-
* * 1, if the *skb* task does not belong to the cgroup2.
1450+
* * 0, if current task belongs to the cgroup2.
1451+
* * 1, if current task does not belong to the cgroup2.
14521452
* * A negative error code, if an error occurred.
14531453
*
14541454
* long bpf_skb_change_tail(struct sk_buff *skb, u32 len, u64 flags)

tools/include/uapi/linux/bpf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,8 +1447,8 @@ union bpf_attr {
14471447
* Return
14481448
* The return value depends on the result of the test, and can be:
14491449
*
1450-
* * 0, if the *skb* task belongs to the cgroup2.
1451-
* * 1, if the *skb* task does not belong to the cgroup2.
1450+
* * 0, if current task belongs to the cgroup2.
1451+
* * 1, if current task does not belong to the cgroup2.
14521452
* * A negative error code, if an error occurred.
14531453
*
14541454
* long bpf_skb_change_tail(struct sk_buff *skb, u32 len, u64 flags)

0 commit comments

Comments
 (0)