mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
[PATCH] sch_htb compile fix.
net/sched/sch_htb.c: In function 'htb_change_class': net/sched/sch_htb.c:1605: error: expected ';' before 'do_gettimeofday' Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d6c93e1ddd
commit
2724a1a55f
@ -1601,7 +1601,7 @@ static int htb_change_class(struct Qdisc *sch, u32 classid,
|
|||||||
/* set class to be in HTB_CAN_SEND state */
|
/* set class to be in HTB_CAN_SEND state */
|
||||||
cl->tokens = hopt->buffer;
|
cl->tokens = hopt->buffer;
|
||||||
cl->ctokens = hopt->cbuffer;
|
cl->ctokens = hopt->cbuffer;
|
||||||
cl->mbuffer = PSCHED_JIFFIE2US(HZ*60) /* 1min */
|
cl->mbuffer = PSCHED_JIFFIE2US(HZ*60); /* 1min */
|
||||||
PSCHED_GET_TIME(cl->t_c);
|
PSCHED_GET_TIME(cl->t_c);
|
||||||
cl->cmode = HTB_CAN_SEND;
|
cl->cmode = HTB_CAN_SEND;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user