[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090608233739.GA1021@gondor.apana.org.au>
Date: Tue, 9 Jun 2009 09:37:39 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Sridhar Samudrala <sri@...ibm.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, kvm@...r.kernel.org,
rusty@...tcorp.com.au
Subject: Re: [PATCH net-next 2/4] udp: Handle large UFO packets from
untrusted sources
On Mon, Jun 08, 2009 at 10:04:47AM -0700, Sridhar Samudrala wrote:
>
> OK. Can we use skb_segment() to do IP fragmentation of UDP packets?
It should be able to.
> The function itself looks protocol independent and if it is simply
> splitting large skb into a list of mtu sized skb's, can we fixup the
> ip header differently for UDP packets(id and frag_off) in inet_gso_segment
> and ipv6_gso_segment?
Yes that's the idea.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists