l2tp: Fix sendmsg() return value
authorGuillaume Nault <g.nault@alphalink.fr>
Wed, 12 Jun 2013 14:07:36 +0000 (16:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Jun 2013 09:39:04 +0000 (02:39 -0700)
commita6f79d0f26704214b5b702bbac525cb72997f984
tree5a639b7834c667446f7326dea18a097cbe9d3866
parent55b92b7a11690bc377b5d373872a6b650ae88e64
l2tp: Fix sendmsg() return value

PPPoL2TP sockets should comply with the standard send*() return values
(i.e. return number of bytes sent instead of 0 upon success).

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ppp.c