linux/drivers/net/mlx4
Roland Dreier 1a44cc3778 mlx4_en: Fix cleanup if workqueue create in mlx4_en_add() fails
If creating a workqueue fails, don't jump to the error path where that
same workqueue is destroyed, since destroy_workqueue() can't handle a
NULL pointer.

This was spotted by the Coverity checker (CID 2617).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-21 01:47:08 -07:00
..
alloc.c
catas.c
cmd.c
cq.c
en_cq.c
en_main.c mlx4_en: Fix cleanup if workqueue create in mlx4_en_add() fails 2009-04-21 01:47:08 -07:00
en_netdev.c mlx4_en: use NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM for tx csum at initialization 2009-04-21 01:47:07 -07:00
en_params.c
en_port.c mlx4_en: Move to SW counters for total bytes and packets 2009-04-21 01:47:07 -07:00
en_port.h
en_resources.c mlx4_en: Assign dummy event handler for TX queue 2009-04-21 01:47:05 -07:00
en_rx.c mlx4_en: Assign dummy event handler for TX queue 2009-04-21 01:47:05 -07:00
en_tx.c mlx4_en: Assign dummy event handler for TX queue 2009-04-21 01:47:05 -07:00
eq.c
fw.c
fw.h
icm.c
icm.h
intf.c
main.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
Makefile
mcg.c
mlx4_en.h mlx4_en: Assign dummy event handler for TX queue 2009-04-21 01:47:05 -07:00
mlx4.h
mr.c
pd.c
port.c
profile.c
qp.c
reset.c
sense.c
srq.c