summaryrefslogtreecommitdiffstats
path: root/net/ipv6/exthdrs.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-06-30 13:36:15 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-30 14:12:06 -0700
commitadcfc7d0b4d7bc3c7edac6fdde9f3ae510bd6054 (patch)
tree6bf8f6facbfbac9ea8ed4d3310ea46a7518ae453 /net/ipv6/exthdrs.c
parent2889139a6acd2945f6143eb85f7dc2a22a352e1a (diff)
downloadop-kernel-dev-adcfc7d0b4d7bc3c7edac6fdde9f3ae510bd6054.zip
op-kernel-dev-adcfc7d0b4d7bc3c7edac6fdde9f3ae510bd6054.tar.gz
[IPV6]: Added GSO support for TCPv6
This patch adds GSO support for IPv6 and TCPv6. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/exthdrs.c')
-rw-r--r--net/ipv6/exthdrs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c
index a18d425..9d0ee7f 100644
--- a/net/ipv6/exthdrs.c
+++ b/net/ipv6/exthdrs.c
@@ -179,7 +179,7 @@ static int ipv6_destopt_rcv(struct sk_buff **skbp)
static struct inet6_protocol destopt_protocol = {
.handler = ipv6_destopt_rcv,
- .flags = INET6_PROTO_NOPOLICY,
+ .flags = INET6_PROTO_NOPOLICY | INET6_PROTO_GSO_EXTHDR,
};
void __init ipv6_destopt_init(void)
@@ -340,7 +340,7 @@ looped_back:
static struct inet6_protocol rthdr_protocol = {
.handler = ipv6_rthdr_rcv,
- .flags = INET6_PROTO_NOPOLICY,
+ .flags = INET6_PROTO_NOPOLICY | INET6_PROTO_GSO_EXTHDR,
};
void __init ipv6_rthdr_init(void)
OpenPOWER on IntegriCloud