Skip to content
Commit 9f9d2ebe authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

svcrpc: make xpo_recvfrom return only >=0



The only errors returned from xpo_recvfrom have been -EAGAIN and
-EAFNOSUPPORT.  The latter was removed by a previous patch.  That leaves
only -EAGAIN, which is treated just like 0 by the caller (svc_recv).

So, just ditch -EAGAIN and return 0 instead.

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent af6d5721
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment