Re: regression: UFO removal breaks kvm live migration
From: Jason Wang <hidden>
Date: 2017-11-08 07:50:11
On 2017年11月08日 15:26, David Miller wrote:
From: Willem de Bruijn <willemdebruijn.kernel@gmail.com> Date: Wed, 8 Nov 2017 12:36:26 +0900quoted
On Tue, Nov 7, 2017 at 5:02 PM, Michal Kubecek [off-list ref] wrote:quoted
I didn't have time to think it through yet but perhaps we could allow setting TUN_F_UFO and ignore its value.If the feature is enabled guests may try to send UFO packets, which the host is no longer able to fragment. virtio_net_hdr_to_skb will drop the packets immediately based on gso_type and tun_get_user will return EINVAL. Still, perhaps that's preferable as migration will succeed and most guests won't ever try to send those packets in the first place.However, this would create the situation where there is no way to properly probe for the actual presence of UFO support.
I think we should not have any assumption on how guest will use the feature. So I could not come a better than bring it back partially for TAP, looks like we only need segment them in tun_get_user(). Thanks