diff options
author | Sona Sarmadi <sona.sarmadi@enea.com> | 2016-04-27 11:48:16 +0200 |
---|---|---|
committer | Nora Björklund <nora.bjorklund@enea.com> | 2016-04-28 09:02:11 +0200 |
commit | d3d0c7af34b996b4518b26d4f3b4eff831a651af (patch) | |
tree | d8dc6be1d65668e4cbaf04f47011542ed35b2031 /meta/recipes-devtools/qemu/qemu/smc91c111_fix3.patch | |
parent | c6477d7bc514c951746d6b717c033475fc45f3fc (diff) | |
download | poky-d3d0c7af34b996b4518b26d4f3b4eff831a651af.tar.gz |
qemu: Upgrade 2.1.0 to 2.4.0 to address some CVEs
The upgrade addresses following CVEs:
CVE-2015-7295
CVE-2015-7504
CVE-2015-7512
CVE-2015-8345
CVE-2015-8504
CVE-2016-1568
CVE-2016-2197
CVE-2016-2198
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu/smc91c111_fix3.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu/smc91c111_fix3.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu/smc91c111_fix3.patch b/meta/recipes-devtools/qemu/qemu/smc91c111_fix3.patch new file mode 100644 index 0000000000..9e865f7f09 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu/smc91c111_fix3.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From: Peter Crosthwaite <crosthwaitepeter@gmail.com> | ||
2 | To: qemu-devel@nongnu.org | ||
3 | Cc: peter.maydell@linaro.org, richard.purdie@linuxfoundation.org | ||
4 | Subject: [RFT PATCH v1 3/3] net: smc91c111: flush packets on RCR register | ||
5 | changes | ||
6 | Date: Thu, 10 Sep 2015 21:24:12 -0700 | ||
7 | |||
8 | The SOFT_RST or RXEN in the control register can be used as a condition | ||
9 | to unblock the net layer via can_receive(). So check for possible | ||
10 | flushes on RCR changes. This will drop all pending packets on soft | ||
11 | reset or disable which is the functional intent of the can_receive() | ||
12 | logic. | ||
13 | |||
14 | Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> | ||
15 | |||
16 | Upstream-Status: Submitted | ||
17 | --- | ||
18 | |||
19 | hw/net/smc91c111.c | 1 + | ||
20 | 1 file changed, 1 insertion(+) | ||
21 | |||
22 | Index: qemu-2.4.0/hw/net/smc91c111.c | ||
23 | =================================================================== | ||
24 | --- qemu-2.4.0.orig/hw/net/smc91c111.c | ||
25 | +++ qemu-2.4.0/hw/net/smc91c111.c | ||
26 | @@ -331,6 +331,7 @@ static void smc91c111_writeb(void *opaqu | ||
27 | if (s->rcr & RCR_SOFT_RST) { | ||
28 | smc91c111_reset(DEVICE(s)); | ||
29 | } | ||
30 | + smc91c111_flush_queued_packets(s); | ||
31 | return; | ||
32 | case 10: case 11: /* RPCR */ | ||
33 | /* Ignored */ | ||