diff options
author | Jorgen Hansen <jhansen@vmware.com> | 2016-04-18 23:58:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-19 20:42:01 -0400 |
commit | 9c995cc9a206a008699da82f6cd01e9b2615649a (patch) | |
tree | d65dff1c7c5fed3b72b635641af27977baf0ba56 /net/openvswitch/conntrack.c | |
parent | 2309236c13feae619572324efd3e910e66ef6bd0 (diff) | |
download | lwn-9c995cc9a206a008699da82f6cd01e9b2615649a.tar.gz lwn-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 'net/openvswitch/conntrack.c')
0 files changed, 0 insertions, 0 deletions