Received: from eggs.gnu.org ([2001:4830:134:3::10]:56880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXVNw-0003eq-CJ for qemu-devel@nongnu.org; Thu, 03 Sep 2015 10:21:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXVNr-0001Ee-7X for qemu-devel@nongnu.org; Thu, 03 Sep 2015 10:21:04 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:36936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXVNr-0001EY-1B for qemu-devel@nongnu.org; Thu, 03 Sep 2015 10:20:59 -0400 Received: by wicfx3 with SMTP id fx3so54126140wic.0 for ; Thu, 03 Sep 2015 07:20:13 -0700 (PDT) Sender: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= From: marcandre.lureau@redhat.com Date: Thu, 3 Sep 2015 16:20:05 +0200 Message-Id: <1441290007-10296-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [RFC PATCH 0/2] vhost-user: release chardev on cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , n.nikolaev@virtualopensystems.com, mst@redhat.com From: Marc-André Lureau The following 2 one-liners remove the chardev from the vhost-user netdev it is attached to. This prevents from further reuse of the chardev that would likely fail to setup again with the backend depending on their state. Related to: https://bugzilla.redhat.com/show_bug.cgi?id=1256619 https://bugzilla.redhat.com/show_bug.cgi?id=1256618 Marc-André Lureau (2): vhost-user: release chardev on cleanup vhost-user: delete chardev on cleanup net/vhost-user.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.4.3