aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r--net/ipv6/tcp_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 394bc54c5c21..147ce499f509 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1527,7 +1527,7 @@ out:
1527 return NULL; 1527 return NULL;
1528} 1528}
1529 1529
1530static int tcp_v6_checksum_init(struct sk_buff *skb) 1530static __sum16 tcp_v6_checksum_init(struct sk_buff *skb)
1531{ 1531{
1532 if (skb->ip_summed == CHECKSUM_COMPLETE) { 1532 if (skb->ip_summed == CHECKSUM_COMPLETE) {
1533 if (!tcp_v6_check(skb->h.th,skb->len,&skb->nh.ipv6h->saddr, 1533 if (!tcp_v6_check(skb->h.th,skb->len,&skb->nh.ipv6h->saddr,