]> git.proxmox.com Git - mirror_qemu.git/commit
xhci: limit the number of link trbs we are willing to process
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 10 Oct 2016 10:46:22 +0000 (12:46 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Oct 2016 10:36:36 +0000 (12:36 +0200)
commit05f43d44e4bc26611ce25fd7d726e483f73363ce
tree0f7b024b4359cbb826507a49a45d299afe25c29f
parent6b39b06339ee59559b31f860d4af635b046322df
xhci: limit the number of link trbs we are willing to process

Needed to avoid we run in circles forever in case the guest builds
an endless loop with link trbs.

Reported-by: Li Qiang <liqiang6-s@360.cn>
Tested-by: P J P <ppandit@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 1476096382-7981-1-git-send-email-kraxel@redhat.com
hw/usb/hcd-xhci.c