diff options
| author | Levi Zim <[email protected]> | 2024-11-30 13:38:22 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-12-20 21:53:36 +0000 |
| commit | fdf478d236dcf0f1f68534df5d456ced625195bd (patch) | |
| tree | 22483cb4ffb1ac93b7b5f12a87a330ef2e24b626 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | tcp_bpf: Add sk_rmem_alloc related logic for tcp_bpf ingress redirection (diff) | |
| download | kernel-fdf478d236dcf0f1f68534df5d456ced625195bd.tar.gz kernel-fdf478d236dcf0f1f68534df5d456ced625195bd.zip | |
skmsg: Return copied bytes in sk_msg_memcopy_from_iter
Previously sk_msg_memcopy_from_iter returns the copied bytes from the
last copy_from_iter{,_nocache} call upon success.
This commit changes it to return the total number of copied bytes on
success.
Signed-off-by: Levi Zim <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Björn Töpel <[email protected]>
Reviewed-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
