summaryrefslogtreecommitdiff
path: root/mm/page_isolation.c
diff options
context:
space:
mode:
authorPaul Durrant <Paul.Durrant@citrix.com>2014-03-28 15:39:07 +0400
committerDavid S. Miller <davem@davemloft.net>2014-03-30 02:50:34 +0400
commit1425c7a4e8d3d2eebf308bcbdc3fa3c1247686b4 (patch)
tree47e3b3c92652e36d5b98db6c15f5df4a303a9863 /mm/page_isolation.c
parenta02eb4732cf975d7fc71b6d1a71c058c9988b949 (diff)
downloadlinux-1425c7a4e8d3d2eebf308bcbdc3fa3c1247686b4.tar.xz
xen-netback: BUG_ON in xenvif_rx_action() not catching overflow
The BUG_ON to catch ring overflow in xenvif_rx_action() makes the assumption that meta_slots_used == ring slots used. This is not necessarily the case for GSO packets, because the non-prefix GSO protocol consumes one more ring slot than meta-slot for the 'extra_info'. This patch changes the test to actually check ring slots. Signed-off-by: Paul Durrant <paul.durrant@citrix.com> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: Wei Liu <wei.liu2@citrix.com> Cc: Sander Eikelenboom <linux@eikelenboom.it> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions