From patchwork Sun Jul 31 20:17:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudio Fontana X-Patchwork-Id: 114463 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7AB7DA00C3; Sun, 31 Jul 2022 22:17:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1C72E4067B; Sun, 31 Jul 2022 22:17:44 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by mails.dpdk.org (Postfix) with ESMTP id 6E1524021E for ; Sun, 31 Jul 2022 22:17:42 +0200 (CEST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 400ED3EFCA; Sun, 31 Jul 2022 20:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1659298662; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UzjDHBjm3Ifcv/R5M8vQT4YN2mdXHqU2FglEfQN0rWU=; b=DSX/kS/ZX7Z+UMZf5BCUfDYbKOOM8nvV7Ksls9sRfnfD53jwifYRm2mWsDLUkdbESsl5rL 53dzsT2MYAgERGJOVyxRq0HxuY0H9797Fx9c2lvf4hOSi7sjXQP0xvHOtwd32mZjD/ve9p CpRXGIVNmSsw47Cg2N7HlFqEsOvBlGI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1659298662; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UzjDHBjm3Ifcv/R5M8vQT4YN2mdXHqU2FglEfQN0rWU=; b=L/6MJ9ZDrnM3lEeUul51DgvD7bJijD+vmZq/boUC5/hQxYWXTfLkQs7zqqcY2lr2PDz/z6 zdfPkeDNkGMHMFBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 15DFA13754; Sun, 31 Jul 2022 20:17:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YhXHA2bj5mIXVgAAMHmgww (envelope-from ); Sun, 31 Jul 2022 20:17:42 +0000 From: Claudio Fontana To: dev@dpdk.org Cc: Claudio Fontana Subject: [PATCH 0/2] vhost fixes for OVS SIGSEGV in PMD Date: Sun, 31 Jul 2022 22:17:36 +0200 Message-Id: <20220731201738.11733-1-cfontana@suse.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi, the real meat is in patch 1/2, which fixes a segmentation fault in the OVS PMD thread when resynchronizing with QEMU after the guest application has been killed with SIGKILL. This fixes an issue where the guest DPDK application is able to crash the OVS process on the host. Patch 2/2 is just an improvement in the current error handling. For your review and comments, Claudio Claudio Fontana (2): vhost: fix error handling in virtio_dev_tx_split vhost: improve error handling in desc_to_mbuf lib/vhost/virtio_net.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-)