]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bpf: Fix the comment for bpf_restore_data_end()
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 5 Oct 2023 07:21:36 +0000 (16:21 +0900)
committerMartin KaFai Lau <martin.lau@kernel.org>
Fri, 6 Oct 2023 05:33:50 +0000 (22:33 -0700)
commit9c8c3fa3a52bc55696ccc4dfcb8a49f969b5fb0e
tree2131500823600dfb6ba4f1ec486ec90891239299
parentd549854bc58f05af9ab660b3461383eea623ff89
bpf: Fix the comment for bpf_restore_data_end()

The comment used to say:
> Restore data saved by bpf_compute_data_pointers().

But bpf_compute_data_pointers() does not save the data;
bpf_compute_and_save_data_end() does.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20231005072137.29870-1-akihiko.odaki@daynix.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
include/linux/filter.h