diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-15 00:40:42 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:23:38 -0500 |
commit | b51655b958dfb1176bfcf99466231fdbef8751ff (patch) | |
tree | a53d0ec00d8db4169ba8c1c487fffbd34d6dde03 /net/ipv4/tcp_ipv4.c | |
parent | b1550f221255f7dd06048d832bf0f3d166840e1c (diff) |
[NET]: Annotate __skb_checksum_complete() and friends.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 0ca8dead03b0..dadf80272413 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -1544,7 +1544,7 @@ static struct sock *tcp_v4_hnd_req(struct sock *sk, struct sk_buff *skb) | |||
1544 | return sk; | 1544 | return sk; |
1545 | } | 1545 | } |
1546 | 1546 | ||
1547 | static int tcp_v4_checksum_init(struct sk_buff *skb) | 1547 | static __sum16 tcp_v4_checksum_init(struct sk_buff *skb) |
1548 | { | 1548 | { |
1549 | if (skb->ip_summed == CHECKSUM_COMPLETE) { | 1549 | if (skb->ip_summed == CHECKSUM_COMPLETE) { |
1550 | if (!tcp_v4_check(skb->h.th, skb->len, skb->nh.iph->saddr, | 1550 | if (!tcp_v4_check(skb->h.th, skb->len, skb->nh.iph->saddr, |