]>
Commit | Line | Data |
---|---|---|
035dbe67 FG |
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
2 | From: Elena Reshetova <elena.reshetova@intel.com> | |
3 | Date: Mon, 4 Sep 2017 13:11:47 +0300 | |
4 | Subject: [PATCH] carl9170: prevent speculative execution | |
5 | MIME-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ||
9 | CVE-2017-5753 | |
10 | CVE-2017-5715 | |
11 | ||
12 | Real commit text tbd | |
13 | ||
14 | Signed-off-by: Elena Reshetova <elena.reshetova@intel.com> | |
15 | Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> | |
16 | Signed-off-by: Andy Whitcroft <apw@canonical.com> | |
17 | Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com> | |
18 | (cherry picked from commit dc218eba4fe8241ab073be41a068f6796450c6d0) | |
19 | Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> | |
20 | --- | |
21 | drivers/net/wireless/ath/carl9170/main.c | 1 + | |
22 | 1 file changed, 1 insertion(+) | |
23 | ||
24 | diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c | |
25 | index 988c8857d78c..7e2c1c870a1d 100644 | |
26 | --- a/drivers/net/wireless/ath/carl9170/main.c | |
27 | +++ b/drivers/net/wireless/ath/carl9170/main.c | |
28 | @@ -1388,6 +1388,7 @@ static int carl9170_op_conf_tx(struct ieee80211_hw *hw, | |
29 | ||
30 | mutex_lock(&ar->mutex); | |
31 | if (queue < ar->hw->queues) { | |
32 | + gmb(); | |
33 | memcpy(&ar->edcf[ar9170_qmap[queue]], param, sizeof(*param)); | |
34 | ret = carl9170_set_qos(ar); | |
35 | } else { | |
36 | -- | |
37 | 2.14.2 | |
38 |