Message ID | 3299215.QY4dUA6yAn@tauon.chronox.de (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Herbert Xu |
Headers | show |
diff --git a/lib/kcapi-kernel-if.c b/lib/kcapi-kernel-if.c index e00d328..9053104 100644 --- a/lib/kcapi-kernel-if.c +++ b/lib/kcapi-kernel-if.c @@ -321,6 +321,8 @@ int32_t _kcapi_common_vmsplice_chunk_fd(struct kcapi_handle *handle, int *fdptr, if ((handle->processed_sg++) > handle->flags.alg_max_pages) { ret = _kcapi_common_send_data(handle, &iov, 1, sflags); + if (ret < 0) + return ret; } else {