aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/generic_mpih-rshift.c
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2013-07-21 09:36:19 -0400
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2013-07-25 11:10:09 -0400
commitd66eaf9f89502971fddcb0de550b01fa6f409d83 (patch)
treef8f938260a47de6d06ccb6858618708c3c312aed /lib/mpi/generic_mpih-rshift.c
parent07f3cb7c28bf3f4dd80bfb136cf45810c46ac474 (diff)
xhci: fix null pointer dereference on ring_doorbell_for_active_rings
in some cases where device is attched to xhci port and do not responding, for example ath9k_htc with stalled firmware, kernel will crash on ring_doorbell_for_active_rings. This patch check if pointer exist before it is used. This patch should be backported to kernels as old as 2.6.35, that contain the commit e9df17eb1408cfafa3d1844bfc7f22c7237b31b8 "USB: xhci: Correct assumptions about number of rings per endpoint" Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/mpi/generic_mpih-rshift.c')
0 files changed, 0 insertions, 0 deletions