[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111013.222843.948173647135141130.davem@davemloft.net>
Date: Thu, 13 Oct 2011 22:28:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, ratbert@...aday-tech.com
Subject: Re: [PATCH net-next] ftmac100: fix skb truesize underestimation
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 13 Oct 2011 23:20:08 +0200
> ftmac100 allocates a page per skb fragment. We must account
> PAGE_SIZE increments on skb->truesize, not the actual frag length.
>
> If frame is under 64 bytes, page is freed, so increase truesize only for
> bigger frames.
>
> 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