From: Eric Dumazet Date: Thu, 13 Oct 2011 11:20:08 +0000 (+0000) Subject: ftmac100: fix skb truesize underestimation X-Git-Tag: v3.2-rc1~129^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96cd8951684adaa5fd72952adef532d0b42f70e1;p=pandora-kernel.git ftmac100: fix skb truesize underestimation 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 CC: Po-Yu Chuang Signed-off-by: David S. Miller --- Reading git-diff-tree failed