aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorRoss Lagerwall <ross.lagerwall@citrix.com>2015-08-04 15:40:59 +0100
committerDavid S. Miller <davem@davemloft.net>2015-08-06 23:42:48 -0700
commit57b229063ae6dc65036209018dc7f4290cc026bb (patch)
treea465b6e776bef923f818d6601c96516c452d85fe /block
parentnet: Fix skb_set_peeked use-after-free bug (diff)
downloadlinux-dev-57b229063ae6dc65036209018dc7f4290cc026bb.tar.xz
linux-dev-57b229063ae6dc65036209018dc7f4290cc026bb.zip
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions