[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111020.052354.2288803249088439664.davem@davemloft.net>
Date: Thu, 20 Oct 2011 05:23:54 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, rusty@...tcorp.com.au, mst@...hat.com,
virtualization@...ts.linux-foundation.org, krkumar2@...ibm.com
Subject: Re: [PATCH net-next] virtio_net: fix truesize underestimation
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 20 Oct 2011 11:14:46 +0200
> 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@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists