projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad86de8
)
pkt_sched: fq: clear time_next_packet for reused flows
author
Eric Dumazet
<edumazet@google.com>
Sun, 27 Oct 2013 23:26:43 +0000
(16:26 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Oct 2013 04:18:31 +0000
(
00:18
-0400)
When a socket is freed/reallocated, we need to clear time_next_packet
or else we can inherit a prior value and delay first packets of the
new flow.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_fq.c
b/net/sched/sch_fq.c
index a9dfdda9ed1d55d17643f36ba05d9ac04ce1557d..fdc041c5785360731154521fb3492dba825776ff 100644
(file)
--- a/
net/sched/sch_fq.c
+++ b/
net/sched/sch_fq.c
@@
-255,6
+255,7
@@
static struct fq_flow *fq_classify(struct sk_buff *skb, struct fq_sched_data *q)
f->socket_hash != sk->sk_hash)) {
f->credit = q->initial_quantum;
f->socket_hash = sk->sk_hash;
+ f->time_next_packet = 0ULL;
}
return f;
}