aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_generic.c
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2008-10-08 14:36:22 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-08 14:36:22 -0400
commit53e915034970935596703a6005cde27c2128b5c3 (patch)
tree6bb1b4270bf1984f235a18bf578497d0dd21d7a3 /net/sched/sch_generic.c
parent52cd5750e81ec8d213949fa7c0d2e08907bf498b (diff)
pkt_sched: Update qdisc requeue stats in dev_requeue_skb()
After the last change of requeuing there is no info about such incidents in tc stats. This patch updates the counter, but we should consider this should differ from previous stats because of additional checks preventing to repeat this. On the other hand, previous stats didn't include requeuing of gso_segmented skbs. Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_generic.c')
-rw-r--r--net/sched/sch_generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c
index 31f6b614b59b..7b5572d6beb5 100644
--- a/net/sched/sch_generic.c
+++ b/net/sched/sch_generic.c
@@ -45,6 +45,7 @@ static inline int qdisc_qlen(struct Qdisc *q)
45static inline int dev_requeue_skb(struct sk_buff *skb, struct Qdisc *q) 45static inline int dev_requeue_skb(struct sk_buff *skb, struct Qdisc *q)
46{ 46{
47 q->gso_skb = skb; 47 q->gso_skb = skb;
48 q->qstats.requeues++;
48 __netif_schedule(q); 49 __netif_schedule(q);
49 50
50 return 0; 51 return 0;