mlx4_en: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 19 Oct 2011 18:49:52 +0000 (18:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Oct 2011 08:55:27 +0000 (04:55 -0400)
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>

No differences found