]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4: Use single completion vector after NOP failure
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 25 Jun 2012 00:24:12 +0000 (00:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Jun 2012 23:30:12 +0000 (16:30 -0700)
commitee51df467ff7ed82f3e73016395919efa7836a12
treeb1173c984ca85fe742f71dbe61f1db8df3b9aa5f
parent4b7af556af7d8e7a07180b767113bbbc735056df
net/mlx4: Use single completion vector after NOP failure

Fix a crash at the error flow of NOP command which caused the driver to try and use
a completion vector which wasn't allocated.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c