diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-10-19 14:49:52 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-20 04:55:27 -0400 |
commit | 90278c9ffb8a92672d60a618a58a99e2370a98ac (patch) | |
tree | de680709745df3e6de2bcc8b6df6369f3ddf9b8c /drivers/zorro/zorro-driver.c | |
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>
Diffstat (limited to 'drivers/zorro/zorro-driver.c')
0 files changed, 0 insertions, 0 deletions