aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2025-02-14 16:09:44 -0800
committerJens Axboe <axboe@kernel.dk>2025-02-17 05:41:09 -0700
commitbc57c7d36c4c9c352ed13d98a4f1e4dc27919d6a (patch)
tree2ca2e54a18a0381c2cfa7388de6b3d5a080c7d43 /net/lapb/lapb_timer.c
parentio_uring/zcrx: throttle receive requests (diff)
downloadwireguard-linux-bc57c7d36c4c9c352ed13d98a4f1e4dc27919d6a.tar.xz
wireguard-linux-bc57c7d36c4c9c352ed13d98a4f1e4dc27919d6a.zip
io_uring/zcrx: add copy fallback
There are scenarios in which the zerocopy path can get a kernel buffer instead of a net_iov and needs to copy it to the user, whether it is because of mis-steering or simply getting an skb with the linear part. In this case, grab a net_iov, copy into it and return it to the user as normally. At the moment the user doesn't get any indication whether there was a copy or not, which is left for follow up work. Reviewed-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: David Wei <dw@davidwei.uk> Acked-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20250215000947.789731-10-dw@davidwei.uk Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions