[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081213024046.GB807@ioremap.net>
Date: Sat, 13 Dec 2008 05:40:46 +0300
From: Evgeniy Polyakov <zbr@...emap.net>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH 6/8] tcp: Add GRO support
On Sat, Dec 13, 2008 at 08:46:27AM +1100, Herbert Xu (herbert@...dor.apana.org.au) wrote:
> > > + flush |= memcmp(th + 1, th2 + 1, thlen - sizeof(*th));
> > > +
> > > + total = p->len;
> > > + mss = total;
> > > + if (skb_shinfo(p)->frag_list)
> > > + mss = skb_shinfo(p)->frag_list->len;
> > > +
> > > + flush |= skb->len > mss || skb->len <= 0;
> > > + flush |= ntohl(th2->seq) + total != ntohl(th->seq);
> > > +
> >
> > No timestamp check?
>
> The memcmp does that for us.
So it will fail if timestamp changed? Or if some new option added?
--
Evgeniy Polyakov
--
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