aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSarah Sharp <[email protected]>2011-03-11 18:20:58 +0000
committerSarah Sharp <[email protected]>2011-03-14 01:23:48 +0000
commitc6cc27c782e3a64cced0fcf1d6f492c8d8881c76 (patch)
treeb671f8101eb7513343f8bb02a7e00712798aa0ed /net/unix/af_unix.c
parentxhci: Fixes for suspend/resume of shared HCDs. (diff)
downloadkernel-c6cc27c782e3a64cced0fcf1d6f492c8d8881c76.tar.gz
kernel-c6cc27c782e3a64cced0fcf1d6f492c8d8881c76.zip
xhci: Return canceled URBs immediately when host is halted.
When the xHCI host controller is halted, it won't respond to commands placed on the command ring. So if an URB is cancelled after the first roothub is deallocated, it will try to place a stop endpoint command on the command ring, which will fail. The command watchdog timer will fire after five seconds, and the host controller will be marked as dying, and all URBs will be completed. Add a flag to the xHCI's internal state variable for when the host controller is halted. Immediately return the canceled URB if the host controller is halted. Signed-off-by: Sarah Sharp <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions