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
..
2015-06-10 22:46:34 -07:00
2015-06-26 11:54:29 -07:00
2015-07-17 16:39:53 -07:00
2015-07-08 15:14:13 +08:00
2015-07-17 16:39:53 -07:00
2015-06-13 08:44:14 -07:00
2015-07-17 16:39:53 -07:00
2015-06-26 14:51:15 -07:00
2015-07-15 20:02:09 +05:30
2015-06-23 13:32:38 -07:00
2015-07-23 13:07:04 -07:00
2015-07-02 14:40:49 -07:00
2015-07-24 15:14:04 -06:00
2015-07-03 16:02:25 -07:00