net/mlx4_en: tx_info allocated with kmalloc() instead of vmalloc()
authorEric Dumazet <edumazet@google.com>
Sun, 5 Oct 2014 09:35:12 +0000 (12:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 05:04:15 +0000 (01:04 -0400)
commitdc9b06d156cefb95f7f6a3ac0521a3efa31d6805
tree0c8db7684d37cde1e7bcba6bd2f086f2d598405e
parent6a4e81211f475561ed87c613216f981fbef8b7fc
net/mlx4_en: tx_info allocated with kmalloc() instead of vmalloc()

Try to allocate using kmalloc_node() first, only on failure use
vmalloc()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c