diff options
Diffstat (limited to 'drivers/net/pppoe.c')
-rw-r--r-- | drivers/net/pppoe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c index 805b64d1e893..344ef330e123 100644 --- a/drivers/net/pppoe.c +++ b/drivers/net/pppoe.c | |||
@@ -89,7 +89,6 @@ | |||
89 | #define PPPOE_HASH_SIZE (1 << PPPOE_HASH_BITS) | 89 | #define PPPOE_HASH_SIZE (1 << PPPOE_HASH_BITS) |
90 | #define PPPOE_HASH_MASK (PPPOE_HASH_SIZE - 1) | 90 | #define PPPOE_HASH_MASK (PPPOE_HASH_SIZE - 1) |
91 | 91 | ||
92 | static int pppoe_xmit(struct ppp_channel *chan, struct sk_buff *skb); | ||
93 | static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb); | 92 | static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb); |
94 | 93 | ||
95 | static const struct proto_ops pppoe_ops; | 94 | static const struct proto_ops pppoe_ops; |
@@ -949,7 +948,7 @@ static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb) | |||
949 | 948 | ||
950 | abort: | 949 | abort: |
951 | kfree_skb(skb); | 950 | kfree_skb(skb); |
952 | return 1; | 951 | return 0; |
953 | } | 952 | } |
954 | 953 | ||
955 | /************************************************************************ | 954 | /************************************************************************ |