]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/net/pppoe.c
Merge branch 'master' of git://git.infradead.org/users/cbou/linux-cns3xxx into devel...
[mv-sheeva.git] / drivers / net / pppoe.c
index c07de359dc074e7abd789826f25728ab065350b3..78c0e3c9b2b5fcb8d42fb910ab2416e4db787dc7 100644 (file)
@@ -948,7 +948,7 @@ static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb)
 
 abort:
        kfree_skb(skb);
-       return 0;
+       return 1;
 }
 
 /************************************************************************
@@ -1124,7 +1124,7 @@ static const struct proto_ops pppoe_ops = {
        .ioctl          = pppox_ioctl,
 };
 
-static struct pppox_proto pppoe_proto = {
+static const struct pppox_proto pppoe_proto = {
        .create = pppoe_create,
        .ioctl  = pppoe_ioctl,
        .owner  = THIS_MODULE,