Re: [PATCH] tcp: make urg+gso work for real this time
From: David Miller <davem@davemloft.net>
Date: 2008-12-17 23:21:17
From: David Miller <davem@davemloft.net>
Date: 2008-12-17 23:21:17
From: Herbert Xu <herbert@gondor.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.