From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 60620] guest loses frequently (multiple times per day!) connectivity to network device Date: Tue, 12 Nov 2013 14:26:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:41440 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755749Ab3KLO0M (ORCPT ); Tue, 12 Nov 2013 09:26:12 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8021920511 for ; Tue, 12 Nov 2013 14:26:11 +0000 (UTC) Received: from bugzilla2.web.kernel.org (bugzilla2.web.kernel.org [172.20.200.52]) by mail.kernel.org (Postfix) with ESMTP id 5A5E5204EB for ; Tue, 12 Nov 2013 14:26:03 +0000 (UTC) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=60620 --- Comment #19 from Jason Wang --- (In reply to Folkert van Heusden from comment #18) > (In reply to Jason Wang from comment #17) > > Created attachment 114331 [details] > > patch to limit the head length of skb allocated > > Would you care to test this patch to see if it solves your problem? > > I'm not an expert in kernel programming but wouldn't an oversized skb only > affect the current incoming packet and not the whole interface stability? Yes, the patch was just to limit the head length of a packet received by tun/tap. Without this patch, host may try to allocate 64K contiguous memory at one time which has a high possibility of failure when memory is fragmented or under heavy stress. So this patch make sure only one page were allocated at one time. > Because what I see is that indeed packets get dropped and then after a while > communication totally stops and also does not recover anymore (unless I > rmmod/modprobe virtio_net). -- You are receiving this mail because: You are watching the assignee of the bug.