Subject: Re: [PATCH net-next 2/4] udp: Handle large UFO packets from untrusted sources

From: Sridhar Samudrala <[email-masked]>
Date: Tue, 09 Jun 2009 22:52:11 -0700

Rusty Russell wrote:
> On Mon, 8 Jun 2009 02:46:08 pm Herbert Xu wrote:
>   
>> On Fri, Jun 05, 2009 at 05:16:31PM -0700, Sridhar Samudrala wrote:
>>     
>>> +	/* Software UFO is not yet supported */
>>> +	segs = ERR_PTR(-EPROTONOSUPPORT);
>>>       
>> Hmm, we need to fill this in before you start using it for virt.
>> After all, it's very difficult for the guest to know whether the
>> output device on the host is going to be able to do UFO or not.
>>     
>
> Yep, no point telling the guest we support UFO if we don't!
>   
This path is taken only when the packet needs to go out a device that 
doesn't support UFO.
Until the software UFO is supported, I thought it may be useful to 
provide a way to enable
UFO inter-guest, between host to guest and to an external host via an 
outgoing device that supports UFO.

Thanks
Sridhar