mlx4_en: FIX: Setting default_qpn before using it
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 19 Dec 2011 21:53:38 +0000 (21:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2011 18:31:36 +0000 (13:31 -0500)
commit89efea25cdceb9093e3f7fb717d3b4063f7f8749
treeacfe0a0f55a5ab0bd014e4c51601ce140427605b
parent2ea744a583d0f40901b2ea43059ae007d9cf2602
mlx4_en: FIX: Setting default_qpn before using it

When UDP RSS is enabled, we use same QPN for TCP and UDP ranges
The bug is that the default_qpn was used base UDP qpn before it
was set.
Fixes bug introduced in commit: 1202d460b1df3a77fda66f4ba5f90ae3527dd42f

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