aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/af_inet.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-12-16 02:43:36 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-16 02:43:36 -0500
commitbf296b125b21b8d558ceb6ec30bb4eba2730cd6b (patch)
tree5a06714c4001ccf1b217b888121f30d57fceea6d /net/ipv4/af_inet.c
parent71d93b39e52e92aea35f1058d957cf12250d0b75 (diff)
tcp: Add GRO support
This patch adds the TCP-specific portion of GRO. The criterion for merging is extremely strict (the TCP header must match exactly apart from the checksum) so as to allow refragmentation. Otherwise this is pretty much identical to LRO, except that we support the merging of ECN packets. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/af_inet.c')
-rw-r--r--net/ipv4/af_inet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c
index a85595307fa7..664ff0ee1c83 100644
--- a/net/ipv4/af_inet.c
+++ b/net/ipv4/af_inet.c
@@ -1410,6 +1410,8 @@ static struct net_protocol tcp_protocol = {
1410 .err_handler = tcp_v4_err, 1410 .err_handler = tcp_v4_err,
1411 .gso_send_check = tcp_v4_gso_send_check, 1411 .gso_send_check = tcp_v4_gso_send_check,
1412 .gso_segment = tcp_tso_segment, 1412 .gso_segment = tcp_tso_segment,
1413 .gro_receive = tcp4_gro_receive,
1414 .gro_complete = tcp4_gro_complete,
1413 .no_policy = 1, 1415 .no_policy = 1,
1414 .netns_ok = 1, 1416 .netns_ok = 1,
1415}; 1417};