commit | 9c995cc9a206a008699da82f6cd01e9b2615649a | [log] [tgz] |
---|---|---|
author | Jorgen Hansen <jhansen@vmware.com> | Mon Apr 18 23:58:52 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 19 20:42:01 2016 -0400 |
tree | d65dff1c7c5fed3b72b635641af27977baf0ba56 | |
parent | 2309236c13feae619572324efd3e910e66ef6bd0 [diff] |
VSOCK: Only check error on skb_recv_datagram when skb is NULL If skb_recv_datagram returns an skb, we should ignore the err value returned. Otherwise, datagram receives will return EAGAIN when they have to wait for a datagram. Acked-by: Adit Ranadive <aditr@vmware.com> Signed-off-by: Jorgen Hansen <jhansen@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>