From: Andrei Vagin <[email protected]> Date: Wed, 17 May 2017 11:39:05 -0700
> 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 > > v2: fix udp code to not use an extra variable > > Cc: Paolo Abeni <[email protected]> > Cc: Eric Dumazet <[email protected]> > Cc: David S. Miller <[email protected]> > Fixes: 65101aeca522 ("net/sock: factor out dequeue/peek with offset cod") > Signed-off-by: Andrei Vagin <[email protected]> Applied.
