lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 12 Dec 2006 12:53:52 -0500
From:	Michael Wu <flamingice@...rmilk.net>
To:	John Linville <linville@...driver.com>
Cc:	Jiri Benc <jbenc@...e.cz>, netdev@...r.kernel.org
Subject: [PATCH 2/3] d80211: fix wme.c breakage

d80211: fix wme.c breakage

This fixes wme.c, which was broken by a recent qdisc api change.

Signed-off-by: Michael Wu <flamingice@...rmilk.net>
---

 net/d80211/wme.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/net/d80211/wme.c b/net/d80211/wme.c
index b9505dc..bffdce9 100644
--- a/net/d80211/wme.c
+++ b/net/d80211/wme.c
@@ -432,7 +432,8 @@ static int wme_qdiscop_init(struct Qdisc
 	/* create child queues */
 	for (i = 0; i < queues; i++) {
 		skb_queue_head_init(&q->requeued[i]);
-		q->queues[i] = qdisc_create_dflt(qd->dev, &CHILD_QDISC_OPS);
+		q->queues[i] = qdisc_create_dflt(qd->dev, &CHILD_QDISC_OPS,
+						 qd->handle);
 		if (q->queues[i] == 0) {
 			q->queues[i] = &noop_qdisc;
 			printk(KERN_ERR "%s child qdisc %i creation failed", dev->name, i);
@@ -658,7 +659,7 @@ void ieee80211_install_qdisc(struct net_
 {
 	struct Qdisc *qdisc;
 
-	qdisc = qdisc_create_dflt(dev, &wme_qdisc_ops);
+	qdisc = qdisc_create_dflt(dev, &wme_qdisc_ops, TC_H_ROOT);
 	if (!qdisc) {
 		printk(KERN_ERR "%s: qdisc installation failed\n", dev->name);
 		return;

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists