From: Kleber Sacilotto de Souza Date: Fri, 22 Feb 2013 14:58:02 +0000 (+0000) Subject: mlx4_en: fix allocation of device tx_cq X-Git-Tag: v3.9-rc1~70^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=427a96252d8eee7b9bbafce15bd37fa3387ede55;p=pandora-kernel.git mlx4_en: fix allocation of device tx_cq The memory to hold the network device tx_cq is not being allocated with the correct size in mlx4_en_init_netdev(). It should use MAX_TX_RINGS instead of MAX_RX_RINGS. This can cause problems if the number of tx rings being used is greater than MAX_RX_RINGS. Signed-off-by: Kleber Sacilotto de Souza Acked-by: Amir Vadai Signed-off-by: David S. Miller --- Reading git-diff-tree failed