alistair23-linux/drivers/net/xen-netback
Paul Durrant 1425c7a4e8 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>
2014-03-29 18:50:34 -04:00
..
common.h xen-netback: Fix Rx stall due to race condition 2014-02-05 16:24:08 -08:00
interface.c xen-netback: use skb_is_gso in xenvif_start_xmit 2014-03-12 15:36:32 -04:00
Makefile
netback.c xen-netback: BUG_ON in xenvif_rx_action() not catching overflow 2014-03-29 18:50:34 -04:00
xenbus.c drivers/net/*: Fix FSF address in file headers 2013-12-06 12:37:55 -05:00