diff options
author | Jorgen Hansen <jhansen@vmware.com> | 2016-04-19 08:58:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-20 02:42:01 +0200 |
commit | 9c995cc9a206a008699da82f6cd01e9b2615649a (patch) | |
tree | d65dff1c7c5fed3b72b635641af27977baf0ba56 /drivers | |
parent | cls_cgroup: get sk_classid only from full sockets (diff) | |
download | linux-9c995cc9a206a008699da82f6cd01e9b2615649a.tar.xz linux-9c995cc9a206a008699da82f6cd01e9b2615649a.zip |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions