diff options
Diffstat (limited to 'net/sched/sch_teql.c')
| -rw-r--r-- | net/sched/sch_teql.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/sched/sch_teql.c b/net/sched/sch_teql.c index db69637069c4..feaabc103ce6 100644 --- a/net/sched/sch_teql.c +++ b/net/sched/sch_teql.c | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
| 12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
| 14 | #include <linux/slab.h> | ||
| 14 | #include <linux/string.h> | 15 | #include <linux/string.h> |
| 15 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
| 16 | #include <linux/if_arp.h> | 17 | #include <linux/if_arp.h> |
| @@ -84,7 +85,7 @@ teql_enqueue(struct sk_buff *skb, struct Qdisc* sch) | |||
| 84 | __skb_queue_tail(&q->q, skb); | 85 | __skb_queue_tail(&q->q, skb); |
| 85 | sch->bstats.bytes += qdisc_pkt_len(skb); | 86 | sch->bstats.bytes += qdisc_pkt_len(skb); |
| 86 | sch->bstats.packets++; | 87 | sch->bstats.packets++; |
| 87 | return 0; | 88 | return NET_XMIT_SUCCESS; |
| 88 | } | 89 | } |
| 89 | 90 | ||
| 90 | kfree_skb(skb); | 91 | kfree_skb(skb); |
| @@ -448,6 +449,7 @@ static __init void teql_master_setup(struct net_device *dev) | |||
| 448 | dev->tx_queue_len = 100; | 449 | dev->tx_queue_len = 100; |
| 449 | dev->flags = IFF_NOARP; | 450 | dev->flags = IFF_NOARP; |
| 450 | dev->hard_header_len = LL_MAX_HEADER; | 451 | dev->hard_header_len = LL_MAX_HEADER; |
| 452 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; | ||
| 451 | } | 453 | } |
| 452 | 454 | ||
| 453 | static LIST_HEAD(master_dev_list); | 455 | static LIST_HEAD(master_dev_list); |
