net/mlx4_en: tx_info allocated with kmalloc() instead of vmalloc()
authorEric Dumazet <[email protected]>
Sun, 5 Oct 2014 09:35:12 +0000 (12:35 +0300)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: Amir Vadai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlx4/en_tx.c