diff options
| author | Eric Dumazet <[email protected]> | 2011-10-19 23:14:46 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-10-21 06:53:00 +0000 |
| commit | 4b727361f0bc7ee7378298941066d8aa15023ffb (patch) | |
| tree | 9cee8374f965ade07d0ef9479e93af493ccaa32e /net/ipv4/tcp_input.c | |
| parent | bnx2x: fix skb truesize underestimation (diff) | |
| download | kernel-4b727361f0bc7ee7378298941066d8aa15023ffb.tar.gz kernel-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 <[email protected]>
CC: Rusty Russell <[email protected]>
CC: "Michael S. Tsirkin" <[email protected]>
CC: [email protected]
CC: Krishna Kumar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
