diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2013-01-07 05:32:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-07 19:51:19 -0800 |
commit | d9a58a782e396a0f04e8445b7ba3763c8a48c7fe (patch) | |
tree | 319af7e412885f2c7c9c7f45d5d7bfbc68d762cd /include | |
parent | 32fa10b24ef64b41e8ca17068fa9dc625427a05e (diff) | |
download | linux-3.10-d9a58a782e396a0f04e8445b7ba3763c8a48c7fe.tar.gz linux-3.10-d9a58a782e396a0f04e8445b7ba3763c8a48c7fe.tar.bz2 linux-3.10-d9a58a782e396a0f04e8445b7ba3763c8a48c7fe.zip |
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 <ian.campbell@citrix.com>
Cc: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: annie li <annie.li@oracle.com>
Cc: xen-devel@lists.xen.org
Cc: netdev@vger.kernel.org
Cc: stable@kernel.org # 3.7.x only
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions