aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/tag_edsa.c
diff options
context:
space:
mode:
authorAndrey Vagin <avagin@openvz.org>2017-05-17 11:39:05 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-18 10:32:58 -0400
commitde321ed38471257ee45eac145bfd539254d13954 (patch)
tree9ad79c96c56f8380b39b4ef81514a6aa5dbb798b /net/dsa/tag_edsa.c
parentnet: make struct dst_entry::dev first member (diff)
downloadlinux-dev-de321ed38471257ee45eac145bfd539254d13954.tar.xz
linux-dev-de321ed38471257ee45eac145bfd539254d13954.zip
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 v2: fix udp code to not use an extra variable Cc: Paolo Abeni <pabeni@redhat.com> Cc: Eric Dumazet <edumazet@google.com> Cc: David S. Miller <davem@davemloft.net> Fixes: 65101aeca522 ("net/sock: factor out dequeue/peek with offset cod") Signed-off-by: Andrei Vagin <avagin@openvz.org> Acked-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/tag_edsa.c')
0 files changed, 0 insertions, 0 deletions