diff options
author | Florian Fainelli <florian@openwrt.org> | 2014-09-27 19:13:32 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2014-09-27 19:13:32 +0000 |
commit | 16772cf83939784db8655e6f6cc60474feb61fd7 (patch) | |
tree | 2d78eb609676c83d0aa668789e2c62bef4fabfda /target/linux/brcm2708/patches-3.10/0053-dwc_otg-fix-potential-use-after-free-case-in-interru.patch | |
parent | 4713f1f6866df5b1899883cc0979ba9e21bc05cd (diff) | |
download | upstream-16772cf83939784db8655e6f6cc60474feb61fd7.tar.gz upstream-16772cf83939784db8655e6f6cc60474feb61fd7.tar.bz2 upstream-16772cf83939784db8655e6f6cc60474feb61fd7.zip |
brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
Backport r42678
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42682 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0053-dwc_otg-fix-potential-use-after-free-case-in-interru.patch')
-rw-r--r-- | target/linux/brcm2708/patches-3.10/0053-dwc_otg-fix-potential-use-after-free-case-in-interru.patch | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0053-dwc_otg-fix-potential-use-after-free-case-in-interru.patch b/target/linux/brcm2708/patches-3.10/0053-dwc_otg-fix-potential-use-after-free-case-in-interru.patch index fb4a53d22f..e446e0c83c 100644 --- a/target/linux/brcm2708/patches-3.10/0053-dwc_otg-fix-potential-use-after-free-case-in-interru.patch +++ b/target/linux/brcm2708/patches-3.10/0053-dwc_otg-fix-potential-use-after-free-case-in-interru.patch @@ -1,7 +1,7 @@ -From 51d7ae6f936ea32dedbe423fab97e3281994fe82 Mon Sep 17 00:00:00 2001 +From 898039471876ec67191d7afcabea38ac5e90285a Mon Sep 17 00:00:00 2001 From: P33M <P33M@github.com> Date: Thu, 28 Feb 2013 16:52:51 +0000 -Subject: [PATCH 053/174] dwc_otg: fix potential use-after-free case in +Subject: [PATCH 053/196] dwc_otg: fix potential use-after-free case in interrupt handler If a transaction had previously aborted, certain interrupts are @@ -15,9 +15,11 @@ the QTD memory space with a 1-byte length being overwritten to drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) +diff --git a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c +index e8c91e7..0c81a64 100644 --- a/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c +++ b/drivers/usb/host/dwc_otg/dwc_otg_hcd_intr.c -@@ -2223,7 +2223,8 @@ int32_t dwc_otg_hcd_handle_hc_n_intr(dwc +@@ -2223,7 +2223,8 @@ int32_t dwc_otg_hcd_handle_hc_n_intr(dwc_otg_hcd_t * dwc_otg_hcd, uint32_t num) retval |= handle_hc_nak_intr(dwc_otg_hcd, hc, hc_regs, qtd); } if (hcint.b.ack) { @@ -27,3 +29,6 @@ the QTD memory space with a 1-byte length being overwritten to } if (hcint.b.nyet) { retval |= handle_hc_nyet_intr(dwc_otg_hcd, hc, hc_regs, qtd); +-- +1.9.1 + |