[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081217.152118.103503644.davem@davemloft.net>
Date: Wed, 17 Dec 2008 15:21:18 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
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
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?
I think this can't be used.
--
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