linux-stable/drivers/net/xen-netback
Ross Lagerwall 57b229063a xen/netback: Wake dealloc thread after completing zerocopy work
Waking the dealloc thread before decrementing inflight_packets is racy
because it means the thread may go to sleep before inflight_packets is
decremented. If kthread_stop() has already been called, the dealloc
thread may wait forever with nothing to wake it. Instead, wake the
thread only after decrementing inflight_packets.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-06 23:42:48 -07:00
..
common.h xen-netback: making the bandwidth limiter runtime settable 2015-03-20 12:55:15 -04:00
interface.c xen/netback: Wake dealloc thread after completing zerocopy work 2015-08-06 23:42:48 -07:00
Makefile
netback.c xen/netback: Wake dealloc thread after completing zerocopy work 2015-08-06 23:42:48 -07:00
xenbus.c xen-netback: fix a BUG() during initialization 2015-06-23 03:34:02 -07:00