kernel-fxtec-pro1x/drivers/infiniband/hw/mlx4
Kleber Sacilotto de Souza a0675a386a IB/mlx4: Check iboe netdev pointer before dereferencing it
Unlike other parts of the mlx4_ib code, the function build_mlx_header()
doesn't check if the iboe netdev of the given port is valid before
dereferencing it, which can cause a crash if the ethernet interface
has already been taken down.

Fix this by checking for a valid netdev pointer before using it to get
the port MAC address.

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-08-16 09:38:19 -07:00
..
ah.c
cq.c IB/mlx4: Increase the number of vectors (EQs) available for ULPs 2012-05-18 17:04:00 -07:00
doorbell.c
Kconfig
mad.c IB/mlx4: Fix possible deadlock on sm_lock spinlock 2012-08-10 13:02:24 -07:00
main.c IB/mlx4: Fix possible deadlock on sm_lock spinlock 2012-08-10 13:02:24 -07:00
Makefile
mlx4_ib.h InfiniBand/RDMA changes for the 3.6 merge window: 2012-07-24 13:56:26 -07:00
mr.c IB/mlx4: Replace printk(KERN_yyy...) with pr_yyy(...) 2012-05-08 11:59:36 -07:00
qp.c IB/mlx4: Check iboe netdev pointer before dereferencing it 2012-08-16 09:38:19 -07:00
srq.c IB/mlx4: Replace printk(KERN_yyy...) with pr_yyy(...) 2012-05-08 11:59:36 -07:00
user.h