From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 197861] Shutting down a VM with Kernel 4.14 will sometime hang and a reboot is the only way to recover. Date: Tue, 12 Dec 2017 22:25:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT To: kvm@kernel.org Return-path: Received: from mail.wl.linuxfoundation.org ([198.145.29.98]:38716 "EHLO mail.wl.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752658AbdLLWZt (ORCPT ); Tue, 12 Dec 2017 17:25:49 -0500 Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE68829528 for ; Tue, 12 Dec 2017 22:25:48 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=197861 --- Comment #7 from Willem de Bruijn (willemb@google.com) --- If that fixes it, the output with this patch would be informative. diff --git a/net/core/skbuff.c b/net/core/skbuff.c index a95877a8ac8b..7c4ba11cb429 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -941,8 +941,14 @@ int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask) if (!num_frags) return 0; - if (skb_shared(skb) || skb_unclone(skb, gfp_mask)) + if (skb_shared(skb)) { + WARN_ONCE(1, "shared skb"); return -EINVAL; + } + if (skb_unclone(skb, gfp_mask)) { + WARN_ONCE(1, "cloned skb"); + return -EINVAL; + } -- You are receiving this mail because: You are watching the assignee of the bug.