From: David Vrabel Date: Fri, 30 Oct 2015 15:16:01 +0000 (+0000) Subject: xen-netback: don't use last request to determine minimum Tx credit X-Git-Tag: v3.2.76~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbf0c8563f3eb28d65077242072dbc4d1ac88ce2;p=pandora-kernel.git xen-netback: don't use last request to determine minimum Tx credit commit 0f589967a73f1f30ab4ac4dd9ce0bb399b4d6357 upstream. The last from guest transmitted request gives no indication about the minimum amount of credit that the guest might need to send a packet since the last packet might have been a small one. Instead allow for the worst case 128 KiB packet. This is part of XSA155. CC: stable@vger.kernel.org Reviewed-by: Wei Liu Signed-off-by: David Vrabel Signed-off-by: Konrad Rzeszutek Wilk [bwh: Backported to 3.2: s/queue/vif/g] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed