[Bug,197861] Shutting down a VM with Kernel 4.14 will sometime hang and a reboot is the only way to recover.
diff mbox

Message ID bug-197861-28872-2OzysGRy9e@https.bugzilla.kernel.org/
State New
Headers show

Commit Message

bugzilla-daemon@bugzilla.kernel.org Dec. 12, 2017, 10:25 p.m. UTC
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.

Patch
diff mbox

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.