Eric Dumazet 4b727361f0 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>
2011-10-21 02:53:00 -04:00
..
2011-07-26 16:49:47 -07:00
2011-08-27 00:58:30 -07:00
2011-09-15 17:19:28 -04:00
2011-08-27 00:58:33 -07:00
2011-08-27 00:58:36 -07:00
2011-10-19 03:10:46 -04:00
2011-09-16 19:20:20 -04:00
2011-07-26 16:49:47 -07:00
2011-09-15 17:31:45 -04:00
2011-08-16 00:16:49 -07:00