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

--- Comment #19 from Jason Wang <jasow...@redhat.com> ---
(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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to