diff options
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_fq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_fq.c b/net/sched/sch_fq.c index 91ceca7bcb5..32ad015ee8c 100644 --- a/net/sched/sch_fq.c +++ b/net/sched/sch_fq.c @@ -46,6 +46,7 @@ #include <linux/slab.h> #include <linux/rbtree.h> #include <linux/hash.h> +#include <linux/prefetch.h> #include <net/netlink.h> #include <net/pkt_sched.h> #include <net/sock.h> @@ -461,6 +462,7 @@ begin: } goto begin; } + prefetch(&skb->end); f->time_next_packet = now; f->credit -= qdisc_pkt_len(skb); @@ -488,7 +490,6 @@ begin: } } out: - prefetch(&skb->end); sch->qstats.backlog -= qdisc_pkt_len(skb); qdisc_bstats_update(sch, skb); sch->q.qlen--; |