commit | 90278c9ffb8a92672d60a618a58a99e2370a98ac | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Oct 19 18:49:52 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 20 04:55:27 2011 -0400 |
tree | de680709745df3e6de2bcc8b6df6369f3ddf9b8c | |
parent | 8a59a7b94fc56e3ed3054c3c655b646bb631f9bc [diff] |
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>