summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/ring_buffer.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-10-19 18:49:52 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-20 04:55:27 -0400
commit90278c9ffb8a92672d60a618a58a99e2370a98ac (patch)
treede680709745df3e6de2bcc8b6df6369f3ddf9b8c /net/batman-adv/ring_buffer.h
parent8a59a7b94fc56e3ed3054c3c655b646bb631f9bc (diff)
downloadop-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 'net/batman-adv/ring_buffer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud