[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081217233105.GB28582@gondor.apana.org.au>
Date: Thu, 18 Dec 2008 10:31:05 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>
Cc: kuznet@....inr.ac.ru, ptesarik@...e.cz, ilpo.jarvinen@...sinki.fi,
netdev@...r.kernel.org
Subject: Re: [PATCH] tcp: make urg+gso work for real this time
On Wed, Dec 17, 2008 at 03:21:18PM -0800, David Miller wrote:
> From: Herbert Xu <herbert@...dor.apana.org.au>
> Date: Thu, 18 Dec 2008 10:15:43 +1100
>
> > + if (between(tp->snd_up, tcb->seq + 1, tcb->seq + 0xFFFF)) {
> > + th->urg_ptr = htons(tp->snd_up - tcb->seq);
> > + th->urg = 1;
> > + } else if (after(tcb->seq + 0xFFFF, tp->snd_nxt)) {
> > + th->urg_ptr = 0xFFFF;
> > + th->urg = 1;
> > + }
>
> What does this make happen for a jumbo frame where the urgent pointer
> is within this packet, yet is beyond the 0xffff offset limit?
Just how on earth can we build such a packet when our skb is designed
to carry 64K maximum?
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