Skip to content
Commit 760a4322 authored by Rainer Weikusat's avatar Rainer Weikusat Committed by David S. Miller
Browse files

net: Fix inverted test in __skb_recv_datagram



As the kernel generally uses negated error numbers, *err needs to be
compared with -EAGAIN (d'oh).

Signed-off-by: default avatarRainer Weikusat <rweikusat@mobileactivedefense.com>
Fixes: ea3793ee ("core: enable more fine-grained datagram reception control")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e72c932d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment