Re: [PATCH net-next] net: fix __skb_try_recv_from_queue to return the old behavior
On Tue, 2017-05-16 at 21:47 -0700, Andrei Vagin wrote: > This function has to return NULL on a error case, because there is a > separate error variable. > > The offset has to be changed only if skb is returned > > Cc: Paolo Abeni> Cc: Eric Dumazet > Cc:
[PATCH net-next] net: fix __skb_try_recv_from_queue to return the old behavior
This function has to return NULL on a error case, because there is a separate error variable. The offset has to be changed only if skb is returned Cc: Paolo AbeniCc: Eric Dumazet Cc: David S. Miller Fixes: 65101aeca522 ("net/sock: