On Tue, Jun 11, 2019 at 2:14 PM Nicholas Tsirakis <niko.tsira...@gmail.com> wrote: > > In its current state, if the destination ring is full, sendv() > will requeue the message and return the rc of pending_requeue(), > which will return 0 on success. This prevents the caller from > distinguishing the difference between a successful write and a > message that needs to be resent at a later time. > > Instead, capture the -EAGAIN value returned from ringbuf_insert() > and *only* overwrite it if the rc of pending_requeue() is non-zero. > This allows the caller to make intelligent decisions on -EAGAIN and > still be alerted if the pending message fails to requeue. > > Signed-off-by: Nicholas Tsirakis <tsirak...@ainfosec.com>
This patch has already been approved and applied; so no need to resend it again, thanks. Christopher _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel