]> 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)
commitc4bb068f3f7b4a1748afe89ebe3675f4b93dbdd6
treeb1173c984ca85fe742f71dbe61f1db8df3b9aa5f
parent80d8ebc3b7d3ec39a7a26649a091a7bb48af0724
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