diff options
author | 2011-10-19 23:14:46 +0000 | |
---|---|---|
committer | 2011-10-21 02:53:00 -0400 | |
commit | 4b727361f0bc7ee7378298941066d8aa15023ffb (patch) | |
tree | 9cee8374f965ade07d0ef9479e93af493ccaa32e /tools/perf/scripts/python | |
parent | bnx2x: fix skb truesize underestimation (diff) | |
download | linux-dev-4b727361f0bc7ee7378298941066d8aa15023ffb.tar.xz linux-dev-4b727361f0bc7ee7378298941066d8aa15023ffb.zip |
virtio_net: fix truesize underestimation
We must account in skb->truesize, the size of the fragments, not the
used part of them.
Doing this work is important to avoid unexpected OOM situations.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: "Michael S. Tsirkin" <mst@redhat.com>
CC: virtualization@lists.linux-foundation.org
CC: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions