fix return value of __pppoe_xmit() method.
authorRami Rosen <ramirose@gmail.com>
Thu, 3 Jun 2010 05:02:29 +0000 (05:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Jun 2010 09:23:15 +0000 (02:23 -0700)
commit55c95e738da85373965cb03b4f975d0fd559865b
treedc3fe475c410606c2ce9cb43fcd204fcec805975
parent5918e2fb9035b35164002c3a268feaf70b7c04d5
fix return value of __pppoe_xmit() method.

Hi,
 __pppoe_xmit() in drivers/net/pppoe always returns 1.
When the methods fails (via goto abort), it should return 0 and not 1.

Regards,
Rami Rosen

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pppoe.c