From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v6 05/13] vhost-user: handle VHOST_USER_RESET_OWNER correctly Date: Tue, 20 Oct 2015 09:03:48 +0200 Message-ID: <2663202.cvIv1Wzbri@xps13> References: <1444369572-1157-1-git-send-email-yuanhan.liu@linux.intel.com> <1444369572-1157-6-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, marcel@redhat.com, "Michael S. Tsirkin" To: Yuanhan Liu Return-path: Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by dpdk.org (Postfix) with ESMTP id 316FE8E99 for ; Tue, 20 Oct 2015 09:04:55 +0200 (CEST) Received: by wicll6 with SMTP id ll6so30688033wic.0 for ; Tue, 20 Oct 2015 00:04:55 -0700 (PDT) In-Reply-To: <1444369572-1157-6-git-send-email-yuanhan.liu@linux.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-10-09 13:46, Yuanhan Liu: > Destroy corresponding device when a VHOST_USER_RESET_OWNER message is > received, otherwise, the vhost-switch would still try to access vq > of that device, which results to SIGSEG fault, and let vhost-switch > crash in the end. It is a fix, so the title should look like: vhost: fix crash when receiving VHOST_USER_RESET_OWNER and there should be a "Fixes:" tag. Please could you also review the related patches from Jerome Jutteau? http://dpdk.org/dev/patchwork/project/dpdk/list/?submitter=354 Thanks