aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index c24339c4e310..96cc3b434e40 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -27,6 +27,7 @@
27#include <linux/slab.h> 27#include <linux/slab.h>
28#include <linux/cache.h> 28#include <linux/cache.h>
29#include <linux/percpu.h> 29#include <linux/percpu.h>
30#include <linux/skbuff.h>
30 31
31#include <net/inet_connection_sock.h> 32#include <net/inet_connection_sock.h>
32#include <net/inet_timewait_sock.h> 33#include <net/inet_timewait_sock.h>
@@ -852,7 +853,7 @@ static __inline__ u16 tcp_v4_check(struct tcphdr *th, int len,
852 853
853static __inline__ int __tcp_checksum_complete(struct sk_buff *skb) 854static __inline__ int __tcp_checksum_complete(struct sk_buff *skb)
854{ 855{
855 return (unsigned short)csum_fold(skb_checksum(skb, 0, skb->len, skb->csum)); 856 return __skb_checksum_complete(skb);
856} 857}
857 858
858static __inline__ int tcp_checksum_complete(struct sk_buff *skb) 859static __inline__ int tcp_checksum_complete(struct sk_buff *skb)