mlx4_en: fix skb truesize underestimation
commit
90278c9ffb8a92672d60a618a58a99e2370a98ac
Author: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed Oct 19 18:49:52 2011 +0000
mlx4_en: fix skb truesize underestimation
skb->truesize must account for allocated memory, not the used part of
it. Doing this work is important to avoid unexpected OOM situations.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>