From: Ian Campbell Date: Mon, 7 Jan 2013 05:32:06 +0000 (+0000) Subject: xen/netfront: improve truesize tracking X-Git-Tag: v3.8-rc3~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9a58a782e396a0f04e8445b7ba3763c8a48c7fe;p=pandora-kernel.git xen/netfront: improve truesize tracking Using RX_COPY_THRESHOLD is incorrect if the SKB is actually smaller than that. We have already accounted for this in NETFRONT_SKB_CB(skb)->pull_to so use that instead. Fixes WARN_ON from skb_try_coalesce. Signed-off-by: Ian Campbell Cc: Sander Eikelenboom Cc: Konrad Rzeszutek Wilk Cc: annie li Cc: xen-devel@lists.xen.org Cc: netdev@vger.kernel.org Cc: stable@kernel.org # 3.7.x only Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed