From: Andrei Vagin <ava...@openvz.org> 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 <pab...@redhat.com> > Cc: Eric Dumazet <eduma...@google.com> > Cc: David S. Miller <da...@davemloft.net> > Fixes: 65101aeca522 ("net/sock: factor out dequeue/peek with offset cod") > Signed-off-by: Andrei Vagin <ava...@openvz.org> Applied.