[TCP]: Fix TCP_OFF() bug check introduced by previous change.
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 6 Sep 2005 01:55:48 +0000 (18:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2005 01:55:48 +0000 (18:55 -0700)
commitfb5f5e6e0cebd574be737334671d1aa8f170d5f3
treeedc95c215cb4929dea3cf391234f648b22f80405
parent1198ad002ad36291817c7bf0308ab9c50ee2571d
[TCP]: Fix TCP_OFF() bug check introduced by previous change.

The TCP_OFF assignment at the bottom of that if block can indeed set
TCP_OFF without setting TCP_PAGE.  Since there is not much to be
gained from avoiding this situation, we might as well just zap the
offset.  The following patch should fix it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c