From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2779F376C; Mon, 4 Sep 2017 15:58:08 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2017 06:58:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,474,1498546800"; d="scan'208";a="145303091" Received: from rhorton-mobl1.ger.corp.intel.com (HELO [163.33.230.130]) ([163.33.230.130]) by orsmga005.jf.intel.com with ESMTP; 04 Sep 2017 06:58:05 -0700 To: Maxime Coquelin , dev@dpdk.org, yliu@fridaylinux.org, jfreiman@redhat.com, tiwei.bie@intel.com References: <20170831095023.21037-1-maxime.coquelin@redhat.com> <20170831095023.21037-16-maxime.coquelin@redhat.com> Cc: mst@redhat.com, vkaplans@redhat.com, jasowang@redhat.com, stable@dpdk.org From: Remy Horton Organization: Intel Shannon Limited Message-ID: Date: Mon, 4 Sep 2017 14:58:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20170831095023.21037-16-maxime.coquelin@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 15/21] vhost: don't dereference invalid dev pointer after its reallocation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 13:58:09 -0000 On 31/08/2017 10:50, Maxime Coquelin wrote: [..] > Problem is that vhost_user_msg_handler() still derenferences old > pointer afterward. Spelling.. :) Code itself looks OK.