diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-01-08 13:41:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-08 13:41:23 -0500 |
commit | 684f2176015b313ab59cecf574117969cf638f28 (patch) | |
tree | e87c2285d35f7f308c9046940d4efadb9b6ad11a /net/ipv4/tcp.c | |
parent | 787e9208360117835101f513f7db593dc2525cf8 (diff) |
tcp6: Add GRO support
This patch adds GRO support for TCP over IPv6. The code is exactly
the same as the IPv4 version except for the pseudo-header checksum
computation.
Note that I've removed the unused tcphdr argument from tcp_v6_check
rather than invent a bogus value for GRO.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 35bcddf8a932..bd6ff907d9e4 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -2542,6 +2542,7 @@ out: | |||
2542 | 2542 | ||
2543 | return pp; | 2543 | return pp; |
2544 | } | 2544 | } |
2545 | EXPORT_SYMBOL(tcp_gro_receive); | ||
2545 | 2546 | ||
2546 | int tcp_gro_complete(struct sk_buff *skb) | 2547 | int tcp_gro_complete(struct sk_buff *skb) |
2547 | { | 2548 | { |
@@ -2558,6 +2559,7 @@ int tcp_gro_complete(struct sk_buff *skb) | |||
2558 | 2559 | ||
2559 | return 0; | 2560 | return 0; |
2560 | } | 2561 | } |
2562 | EXPORT_SYMBOL(tcp_gro_complete); | ||
2561 | 2563 | ||
2562 | #ifdef CONFIG_TCP_MD5SIG | 2564 | #ifdef CONFIG_TCP_MD5SIG |
2563 | static unsigned long tcp_md5sig_users; | 2565 | static unsigned long tcp_md5sig_users; |