[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>
This commit is contained in:
Al Viro
2006-11-14 21:40:42 -08:00
committed by David S. Miller
parent b1550f2212
commit b51655b958
13 changed files with 22 additions and 22 deletions

View File

@@ -3790,9 +3790,9 @@ static int tcp_copy_to_iovec(struct sock *sk, struct sk_buff *skb, int hlen)
return err;
}
static int __tcp_checksum_complete_user(struct sock *sk, struct sk_buff *skb)
static __sum16 __tcp_checksum_complete_user(struct sock *sk, struct sk_buff *skb)
{
int result;
__sum16 result;
if (sock_owned_by_user(sk)) {
local_bh_enable();