diff options
author | Levi Zim <rsworktech@outlook.com> | 2024-11-30 14:38:22 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-12-20 22:53:36 +0100 |
commit | fdf478d236dcf0f1f68534df5d456ced625195bd (patch) | |
tree | 22483cb4ffb1ac93b7b5f12a87a330ef2e24b626 /lib/locking-selftest-rlock-hardirq.h | |
parent | tcp_bpf: Add sk_rmem_alloc related logic for tcp_bpf ingress redirection (diff) | |
download | linux-fdf478d236dcf0f1f68534df5d456ced625195bd.tar.xz linux-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 <rsworktech@outlook.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Björn Töpel <bjorn@kernel.org>
Reviewed-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20241130-tcp-bpf-sendmsg-v1-1-bae583d014f3@outlook.com
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions