Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6334832imb; Fri, 8 Mar 2019 15:17:16 -0800 (PST) X-Google-Smtp-Source: APXvYqxhldC3RJP2TItTsyxckJj7Y1n/KFnSZlJSOr1aqkLh7JtDFg7sdaOrt2J/ySoS0A/cxgEn X-Received: by 2002:a63:c04b:: with SMTP id z11mr18654929pgi.135.1552087036748; Fri, 08 Mar 2019 15:17:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552087036; cv=none; d=google.com; s=arc-20160816; b=NtsvExOmDbEJQlJ6nAFNnXo8JeSYIt/ShNW4MEqMZyBZ3ngqvbtsWPXDwwd1Y2oCk+ kZz9B8rUMsKcc94wBguLJM7l0rdRlsxP1zyQ42LRGJhJWVZc9A3OFZsDRgzS5VUmkSgB IlrYCWFfhes+ZPddRkJmVPE1DXM5BFOpkl2mu7hmpYWGkwASA7lkEG40UZDNye0pEOvu Xy484zPqrpyg45sXrzauereyosn8NRa013mcuQZNJgnGEnWZH1U7YXZUc1l2Zl2cTpbr 8s97QY03b5D5YDdGA4TSFOGIKchx0cNrhgKurY/VVoYsvH1edMLU0WC4xiZESGTEF8+m RGOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=tWtMxT6102g/v5tf7m5/cT4ZzaStnvtegKS4+LUkrzY=; b=HL+gV02Q8p6jXuSZtz5gC5broFLDNhjvyS53lCQYjSuHbhKimue5oJRIUaEma1rkgY PUNiA6EGJAAvDE6obDQmyEsEMzx5iGH9PQwspBi3OcHT8fHgBbORUuLGNqYA6at2uO0r Y6WHxo1OVu0+15Nd0Hb6Gi6+4S0Ef8NCHE0JISASGMxjxhp2OVTzvPL84bi/qgK/l9gf U2cJYrB5FNztM2srSZFEJHA1ww++TqJH1YbU3rWTGVMhrj/6jNdJcCkiPUME78c4rPiI UHG9f47KA+u5488jBS1pXmxKay0REdgAg+gxbt8/gKvQZNFO6f0/b79RMK9wwU87p5dg BFlw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k190si7694735pgd.288.2019.03.08.15.17.01; Fri, 08 Mar 2019 15:17:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726668AbfCHXQj convert rfc822-to-8bit (ORCPT + 99 others); Fri, 8 Mar 2019 18:16:39 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:41370 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726379AbfCHXQi (ORCPT ); Fri, 8 Mar 2019 18:16:38 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id BC3781479DBE8; Fri, 8 Mar 2019 15:16:37 -0800 (PST) Date: Fri, 08 Mar 2019 15:16:37 -0800 (PST) Message-Id: <20190308.151637.1852310112674993852.davem@davemloft.net> To: alazar@bitdefender.com Cc: stefanha@redhat.com, sgarzare@redhat.com, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, aherghelegiu@bitdefender.com Subject: Re: [PATCH v2] vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock From: David Miller In-Reply-To: <20190306101353.9938-1-alazar@bitdefender.com> References: <20190306101353.9938-1-alazar@bitdefender.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-2 Content-Transfer-Encoding: 8BIT X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 08 Mar 2019 15:16:38 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adalbert Laz?r Date: Wed, 6 Mar 2019 12:13:53 +0200 > Previous to commit 22b5c0b63f32 ("vsock/virtio: fix kernel panic > after device hot-unplug"), vsock_core_init() was called from > virtio_vsock_probe(). Now, virtio_transport_reset_no_sock() can be called > before vsock_core_init() has the chance to run. ... > Fixes: 22b5c0b63f32 ("vsock/virtio: fix kernel panic after device hot-unplug") > Reported-by: Alexandru Herghelegiu > Signed-off-by: Adalbert Laz?r > Co-developed-by: Stefan Hajnoczi Applied and queued up for -stable.