From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH] net/af_packet: fix fd use after free Date: Mon, 9 Jan 2017 11:55:12 +0000 Message-ID: <9109d76d-0d94-2ce4-b030-e2d819709998@intel.com> References: <1483626815-476-1-git-send-email-timmons.player@spirent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org, dpdk stable To: "Timmons C. Player" , linville@tuxdriver.com Return-path: In-Reply-To: <1483626815-476-1-git-send-email-timmons.player@spirent.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 1/5/2017 2:33 PM, Timmons C. Player wrote: > When using the same file descriptor for both rx and tx, the > eth_dev_stop function would close the same fd twice. This > change prevents that from happening. > > Signed-off-by: Timmons C. Player Fixes: 364e08f2bbc0 ("af_packet: add PMD for AF_PACKET-based virtual devices") CC:stable@dpdk.org Acked-by: Ferruh Yigit