Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
net
/
sched
/
sch_fifo.c
diff --git
a/kernel/net/sched/sch_fifo.c
b/kernel/net/sched/sch_fifo.c
index
2e2398c
..
2177eac
100644
(file)
--- a/
kernel/net/sched/sch_fifo.c
+++ b/
kernel/net/sched/sch_fifo.c
@@
-54,7
+54,7
@@
static int fifo_init(struct Qdisc *sch, struct nlattr *opt)
bool is_bfifo = sch->ops == &bfifo_qdisc_ops;
if (opt == NULL) {
- u32 limit = qdisc_dev(sch)->tx_queue_len
? : 1
;
+ u32 limit = qdisc_dev(sch)->tx_queue_len;
if (is_bfifo)
limit *= psched_mtu(qdisc_dev(sch));