[Bug 60620] guest loses frequently (multiple times per day!) connectivity to network device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=60620

--- Comment #19 from Jason Wang <jasowang@xxxxxxxxxx> ---
(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.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux