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_input.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_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 6ab3423674bb..9304034c0c47 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -3790,9 +3790,9 @@ static int tcp_copy_to_iovec(struct sock *sk, struct sk_buff *skb, int hlen) | |||
3790 | return err; | 3790 | return err; |
3791 | } | 3791 | } |
3792 | 3792 | ||
3793 | static int __tcp_checksum_complete_user(struct sock *sk, struct sk_buff *skb) | 3793 | static __sum16 __tcp_checksum_complete_user(struct sock *sk, struct sk_buff *skb) |
3794 | { | 3794 | { |
3795 | int result; | 3795 | __sum16 result; |
3796 | 3796 | ||
3797 | if (sock_owned_by_user(sk)) { | 3797 | if (sock_owned_by_user(sk)) { |
3798 | local_bh_enable(); | 3798 | local_bh_enable(); |