diff options
| author | Gerd Hoffmann | 2017-02-02 12:36:12 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2017-02-06 10:23:18 +0100 |
| commit | 96d87bdda3919bb16f754b3d3fd1227e1f38f13c (patch) | |
| tree | edcb8fd8559ee64a3e0f772ac84ca999a39d10e4 /include/exec | |
| parent | xhci: don't kick in xhci_submit and xhci_fire_ctl_transfer (diff) | |
| download | qemu-96d87bdda3919bb16f754b3d3fd1227e1f38f13c.tar.gz qemu-96d87bdda3919bb16f754b3d3fd1227e1f38f13c.tar.xz qemu-96d87bdda3919bb16f754b3d3fd1227e1f38f13c.zip | |
xhci: guard xhci_kick_epctx against recursive calls
Track xhci_kick_epctx processing being active in a variable. Check the
variable before calling xhci_kick_epctx from xhci_kick_ep. Add an
assert to make sure we don't call recursively into xhci_kick_epctx.
Cc: 1653384@bugs.launchpad.net
Fixes: 94b037f2a451b3dc855f9f2c346e5049a361bd55
Reported-by: Fabian Lesniak <fabian@lesniak-it.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1486035372-3621-1-git-send-email-kraxel@redhat.com
Message-id: 1485790607-31399-5-git-send-email-kraxel@redhat.com
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
