aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-07-23 14:25:40 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2017-07-28 22:46:26 +0200
commit39e8ab17d55094709e103da28360f0cc515612a9 (patch)
tree21b37dbc9e5eb39877b3f8f4a51c62b46ca85e75 /target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch
parent88f3c635726525f4da1ac24780ee0d506f18c4b6 (diff)
downloadupstream-39e8ab17d55094709e103da28360f0cc515612a9.tar.gz
upstream-39e8ab17d55094709e103da28360f0cc515612a9.tar.bz2
upstream-39e8ab17d55094709e103da28360f0cc515612a9.zip
kernel: update kernel 4.4 to version 4.4.79
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch')
-rw-r--r--target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch b/target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch
index 8952ab4e20..9d1962caa9 100644
--- a/target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch
+++ b/target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch
@@ -70,10 +70,10 @@
+ qdisc = qdisc_create_dflt(dev_queue, &fq_codel_qdisc_ops,
TC_H_MAKE(TC_H_MAJ(sch->handle),
TC_H_MIN(ntx + 1)));
- if (qdisc == NULL)
+ if (!qdisc)
--- a/net/sched/sch_mqprio.c
+++ b/net/sched/sch_mqprio.c
-@@ -124,7 +124,7 @@ static int mqprio_init(struct Qdisc *sch
+@@ -122,7 +122,7 @@ static int mqprio_init(struct Qdisc *sch
for (i = 0; i < dev->num_tx_queues; i++) {
dev_queue = netdev_get_tx_queue(dev, i);
@@ -81,10 +81,10 @@
+ qdisc = qdisc_create_dflt(dev_queue, &fq_codel_qdisc_ops,
TC_H_MAKE(TC_H_MAJ(sch->handle),
TC_H_MIN(i + 1)));
- if (qdisc == NULL) {
+ if (!qdisc)
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
-@@ -1948,7 +1948,7 @@ static int __init pktsched_init(void)
+@@ -1951,7 +1951,7 @@ static int __init pktsched_init(void)
return err;
}