virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/3] vhost fixes for 3.14, -stable
@ 2014-02-12 16:37 Michael S. Tsirkin
  2014-02-12 16:36 ` [PATCH net 3/3] vhost: fix a theoretical race in device cleanup Michael S. Tsirkin
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Michael S. Tsirkin @ 2014-02-12 16:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: virtio-dev, netdev, virtualization, qinchuanyu, davem

This fixes a deadlock with vhost reported in the field,
as well as a theoretical race issue found by code
review.

Patches 1+2 are needed for stable.

Thanks to Qin Chuanyu for reporting the issue!

Michael S. Tsirkin (3):
  kref: add kref_sub_return
  vhost: fix ref cnt checking deadlock
  vhost: fix a theoretical race in device cleanup

 include/linux/kref.h | 33 ++++++++++++++++++++++++++++++++-
 drivers/vhost/net.c  | 15 ++++++++++-----
 2 files changed, 42 insertions(+), 6 deletions(-)

-- 
MST

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-02-14  5:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-12 16:37 [PATCH net 0/3] vhost fixes for 3.14, -stable Michael S. Tsirkin
2014-02-12 16:36 ` [PATCH net 3/3] vhost: fix a theoretical race in device cleanup Michael S. Tsirkin
2014-02-12 16:38 ` [PATCH net 2/3] vhost: fix ref cnt checking deadlock Michael S. Tsirkin
2014-02-12 16:38 ` [PATCH net 1/3] kref: add kref_sub_return Michael S. Tsirkin
2014-02-12 16:56   ` Greg Kroah-Hartman
2014-02-12 17:35     ` Michael S. Tsirkin
     [not found]     ` <20140212173524.GA26860@redhat.com>
2014-02-12 18:37       ` Greg Kroah-Hartman
2014-02-12 18:39       ` Anatol Pomozov
2014-02-13  0:06     ` David Miller
2014-02-13  1:25       ` Jörn Engel
2014-02-13  1:39       ` Greg KH
2014-02-13  4:05         ` David Miller
2014-02-13  4:09           ` David Miller
2014-02-14  0:03             ` Greg KH
2014-02-14  5:10               ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).