ipv4: ping: Fix recvmsg MSG_OOB error handling.
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Feb 2012 22:59:19 +0000 (17:59 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Feb 2012 22:59:19 +0000 (17:59 -0500)
commita5e7424d424f6398a198ead79d99e0a3c2f24ce8
tree2fc4ba0c2664cefb38f47c372260ee379d0e2f79
parent115c9b81928360d769a76c632bae62d15206a94a
ipv4: ping: Fix recvmsg MSG_OOB error handling.

Don't return an uninitialized variable as the error, return
-EOPNOTSUPP instead.

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ping.c