[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-backports
Subject:    [PATCH 16/20] patches: disable qdisc_tx_busylock in bluetooth
From:       Hauke Mehrtens <hauke () hauke-m ! de>
Date:       2014-11-16 20:49:16
Message-ID: 1416170960-12868-17-git-send-email-hauke () hauke-m ! de
[Download RAW message or body]

The qdisc_tx_busylock member in struct net_device is not available in
kernel < 3.7.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 .../network/0030-qdisc_tx_busylock/bluetooth.patch           | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 patches/collateral-evolutions/network/0030-qdisc_tx_busylock/bluetooth.patch


diff --git a/patches/collateral-evolutions/network/0030-qdisc_tx_busylock/bluetooth.patch \
b/patches/collateral-evolutions/network/0030-qdisc_tx_busylock/bluetooth.patch new \
file mode 100644 index 0000000..0c63a67
--- /dev/null
+++ b/patches/collateral-evolutions/network/0030-qdisc_tx_busylock/bluetooth.patch
@@ -0,0 +1,12 @@
+--- a/net/bluetooth/6lowpan.c
++++ b/net/bluetooth/6lowpan.c
+@@ -663,7 +663,9 @@ static void bt_set_lockdep_class_one(str
+ static int bt_dev_init(struct net_device *dev)
+ {
+ 	netdev_for_each_tx_queue(dev, bt_set_lockdep_class_one, NULL);
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0)
+ 	dev->qdisc_tx_busylock = &bt_tx_busylock;
++#endif
+ 
+ 	return 0;
+ }
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic