diff options
| author | Baolin Wang <baolin.wang@linaro.org> | 2017-01-03 18:28:47 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-03 17:37:32 +0100 |
| commit | 2a7cfdf37b7c08ac29df4c62ea5ccb01474b6597 (patch) | |
| tree | b12c8a58d6a894f1fb8f2560c13abb26b1826489 /lib/mpi/mpi-internal.h | |
| parent | 2b985467371a58ae44d76c7ba12b0951fee6ed98 (diff) | |
usb: host: xhci: Fix possible wild pointer when handling abort command
When current command was supposed to be aborted, host will free the command
in handle_cmd_completion() function. But it might be still referenced by
xhci->current_cmd, which need to set NULL.
Cc: <stable@vger.kernel.org>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
