From: Eric Dumazet Date: Wed, 19 Oct 2011 23:14:46 +0000 (+0000) Subject: virtio_net: fix truesize underestimation X-Git-Tag: v3.2-rc1~182^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b727361f0bc7ee7378298941066d8aa15023ffb;p=pandora-kernel.git 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 CC: Rusty Russell CC: "Michael S. Tsirkin" CC: virtualization@lists.linux-foundation.org CC: Krishna Kumar Signed-off-by: David S. Miller --- Reading git-diff-tree failed