diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-10-19 18:49:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-20 04:55:27 -0400 |
commit | 90278c9ffb8a92672d60a618a58a99e2370a98ac (patch) | |
tree | de680709745df3e6de2bcc8b6df6369f3ddf9b8c /include/linux/mm_types.h | |
parent | 8a59a7b94fc56e3ed3054c3c655b646bb631f9bc (diff) | |
download | op-kernel-dev-90278c9ffb8a92672d60a618a58a99e2370a98ac.zip op-kernel-dev-90278c9ffb8a92672d60a618a58a99e2370a98ac.tar.gz |
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>
Diffstat (limited to 'include/linux/mm_types.h')
0 files changed, 0 insertions, 0 deletions