net: ipv6: fix wrong ping_v6_sendmsg return value
authorLorenzo Colitti <lorenzo@google.com>
Wed, 3 Jul 2013 15:12:40 +0000 (00:12 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jul 2013 00:42:05 +0000 (17:42 -0700)
commitfbfe80c890a1dc521d0b629b870e32fcffff0da5
tree1479d7ded21593663a29b33a007cbe722b10037a
parenta1bdc45580fc19e968b32ad27cd7e476a4aa58f6
net: ipv6: fix wrong ping_v6_sendmsg return value

ping_v6_sendmsg currently returns 0 on success. It should return
the number of bytes written instead.

Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ping.c