From: Eric Dumazet Date: Fri, 28 Jun 2013 15:05:06 +0000 (-0700) Subject: iwl3945: better skb management in rx path X-Git-Tag: v3.12-rc1~132^2~297^2^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45fe142cefa864b685615bcb930159f6749c3667;p=pandora-kernel.git iwl3945: better skb management in rx path Steinar reported reallocations of skb->head with IPv6, leading to a warning in skb_try_coalesce() It turns out iwl3945 has several problems : 1) skb->truesize is underestimated. We really consume PAGE_SIZE bytes for a fragment, not the frame length. 2) 128 bytes of initial headroom is a bit low and forces reallocations. 3) We can avoid consuming a full page for small enough frames. Reported-by: Steinar H. Gunderson Signed-off-by: Eric Dumazet Cc: Paul Stewart Acked-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- Reading git-diff-tree failed