gro: Use gso_size to store MSS
commitb530256d2e0f1a75fab31f9821129fff1bb49faa
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 Jan 2009 00:13:19 +0000 (4 16:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jan 2009 00:13:19 +0000 (4 16:13 -0800)
treee3e615d405921fc157169180d53c91d09b9a7186
parentcfc3a44c3c32abe48898398d9a92e8524c976803
gro: Use gso_size to store MSS

In order to allow GRO packets without frag_list at all, we need to
store the MSS in the packet itself.  The obvious place is gso_size.
The only thing to watch out for is if the packet ends up not being
GRO then we need to clear gso_size before pushing the packet into
the stack.

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