From: Paul Durrant Date: Wed, 11 Dec 2013 10:57:15 +0000 (+0000) Subject: xen-netback: napi: fix abuse of budget X-Git-Tag: v3.13-rc4~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10574059ce0451c6572c85329c772aa15085f8eb;p=pandora-kernel.git xen-netback: napi: fix abuse of budget netback seems to be somewhat confused about the napi budget parameter. The parameter is supposed to limit the number of skbs processed in each poll, but netback has this confused with grant operations. This patch fixes that, properly limiting the work done in each poll. Note that this limit makes sure we do not process any more data from the shared ring than we intend to pass back from the poll. This is important to prevent tx_queue potentially growing without bound. Signed-off-by: Paul Durrant Cc: Wei Liu Cc: Ian Campbell Cc: David Vrabel Signed-off-by: David S. Miller --- Reading git-diff-tree failed