android_kernel_xiaomi_sm8350/drivers/infiniband/hw/mthca
Jack Morgenstein d686159e50 IB/mthca: Fix access to freed memory in catastrophic event handling
catas_reset() uses a pointer to mthca_dev, but mthca_dev is not valid
after the call to __mthca_restart_one().

Based on a similar patch for mlx4 (634354d7, "mlx4: Fix access to
freed memory") by Vitaliy Gusev <vgusev@openvz.org>

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-09-24 11:55:41 -07:00
..
Kconfig
Makefile
mthca_allocator.c
mthca_av.c
mthca_catas.c IB/mthca: Fix access to freed memory in catastrophic event handling 2009-09-24 11:55:41 -07:00
mthca_cmd.c IB/mthca: Add module parameter for number of MTTs per segment 2009-05-27 14:36:16 -07:00
mthca_cmd.h
mthca_config_reg.h IB/mthca: Remove unnecessary include of <asm/page.h> 2009-09-05 20:36:13 -07:00
mthca_cq.c
mthca_dev.h IB/mthca: Don't allow userspace open while recovering from catastrophic error 2009-09-05 20:36:16 -07:00
mthca_doorbell.h
mthca_eq.c IB/mthca: Distinguish multiple devices in /proc/interrupts 2009-09-05 20:36:15 -07:00
mthca_mad.c
mthca_main.c Merge branches 'cxgb3', 'ehca', 'ipath', 'ipoib', 'misc', 'mlx4', 'mthca' and 'nes' into for-linus 2009-09-10 21:18:07 -07:00
mthca_mcg.c
mthca_memfree.c
mthca_memfree.h
mthca_mr.c IB/mthca: Replace dma_sync_single() use with proper functions 2009-06-22 23:04:13 -07:00
mthca_pd.c
mthca_profile.c IB/mthca: Add module parameter for number of MTTs per segment 2009-05-27 14:36:16 -07:00
mthca_profile.h
mthca_provider.c IB/mthca: Don't allow userspace open while recovering from catastrophic error 2009-09-05 20:36:16 -07:00
mthca_provider.h IB/mthca: Distinguish multiple devices in /proc/interrupts 2009-09-05 20:36:15 -07:00
mthca_qp.c IB/mthca: Annotate CQ locking 2009-09-05 20:36:15 -07:00
mthca_reset.c IB/mthca: Remove unnecessary include of <linux/init.h> 2009-09-05 20:36:15 -07:00
mthca_srq.c
mthca_uar.c
mthca_user.h
mthca_wqe.h