bpf: Remove blank line in bpf helper description comment
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 23 Feb 2021 13:14:57 +0000 (21:14 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 24 Feb 2021 16:20:21 +0000 (17:20 +0100)
Commit 34b2021cc616 ("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: 34b2021cc616 ("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
include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf.h

index 4c24daa43bacc601cd3fc5ca8eeda3614bb45344..79c893310492b33689352b9dff5f53a42dd9d72b 100644 (file)
@@ -3850,7 +3850,6 @@ union bpf_attr {
  *
  * long bpf_check_mtu(void *ctx, u32 ifindex, u32 *mtu_len, s32 len_diff, u64 flags)
  *     Description
-
  *             Check ctx packet size against exceeding MTU of net device (based
  *             on *ifindex*).  This helper will likely be used in combination
  *             with helpers that adjust/change the packet size.
index 4c24daa43bacc601cd3fc5ca8eeda3614bb45344..79c893310492b33689352b9dff5f53a42dd9d72b 100644 (file)
@@ -3850,7 +3850,6 @@ union bpf_attr {
  *
  * long bpf_check_mtu(void *ctx, u32 ifindex, u32 *mtu_len, s32 len_diff, u64 flags)
  *     Description
-
  *             Check ctx packet size against exceeding MTU of net device (based
  *             on *ifindex*).  This helper will likely be used in combination
  *             with helpers that adjust/change the packet size.