diff options
| author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2018-10-17 10:24:48 -0400 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2018-10-18 00:45:50 -0400 |
| commit | b55cbc8d9b44aaee94f19e995a5f241d453763ee (patch) | |
| tree | 4a5dbbcd4204cd06298f09d01f03a19e436d4659 /tools/include | |
| parent | 44d520eb17cd5fd7a3ac28b9d872e655c3920021 (diff) | |
bpf: fix doc of bpf_skb_adjust_room() in uapi
len_diff is signed.
Fixes: fa15601ab31e ("bpf: add documentation for eBPF helpers (33-41)")
CC: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/include')
| -rw-r--r-- | tools/include/uapi/linux/bpf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index f9187b41dff6..5e46f6732781 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h | |||
| @@ -1433,7 +1433,7 @@ union bpf_attr { | |||
| 1433 | * Return | 1433 | * Return |
| 1434 | * 0 on success, or a negative error in case of failure. | 1434 | * 0 on success, or a negative error in case of failure. |
| 1435 | * | 1435 | * |
| 1436 | * int bpf_skb_adjust_room(struct sk_buff *skb, u32 len_diff, u32 mode, u64 flags) | 1436 | * int bpf_skb_adjust_room(struct sk_buff *skb, s32 len_diff, u32 mode, u64 flags) |
| 1437 | * Description | 1437 | * Description |
| 1438 | * Grow or shrink the room for data in the packet associated to | 1438 | * Grow or shrink the room for data in the packet associated to |
| 1439 | * *skb* by *len_diff*, and according to the selected *mode*. | 1439 | * *skb* by *len_diff*, and according to the selected *mode*. |
