Skip to content

Commit a7c9c25

Browse files
liuhangbinborkmann
authored andcommitted
bpf: Remove blank line in bpf helper description comment
Commit 34b2021 ("bpf: Add BPF-helper for MTU checking") added an extra blank line in bpf helper description. This will make bpf_helpers_doc.py stop building bpf_helper_defs.h immediately after bpf_check_mtu(), which will affect future added functions. Fixes: 34b2021 ("bpf: Add BPF-helper for MTU checking") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Link: https://lore.kernel.org/bpf/20210223131457.1378978-1-liuhangbin@gmail.com
1 parent 41462c6 commit a7c9c25

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

  • include/uapi/linux
  • tools/include/uapi/linux

‎include/uapi/linux/bpf.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3850,7 +3850,6 @@ union bpf_attr {
38503850
*
38513851
* long bpf_check_mtu(void *ctx, u32 ifindex, u32 *mtu_len, s32 len_diff, u64 flags)
38523852
* Description
3853-
38543853
* Check ctx packet size against exceeding MTU of net device (based
38553854
* on *ifindex*). This helper will likely be used in combination
38563855
* with helpers that adjust/change the packet size.

‎tools/include/uapi/linux/bpf.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3850,7 +3850,6 @@ union bpf_attr {
38503850
*
38513851
* long bpf_check_mtu(void *ctx, u32 ifindex, u32 *mtu_len, s32 len_diff, u64 flags)
38523852
* Description
3853-
38543853
* Check ctx packet size against exceeding MTU of net device (based
38553854
* on *ifindex*). This helper will likely be used in combination
38563855
* with helpers that adjust/change the packet size.

0 commit comments

Comments
 (0)