[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:
parent
b1550f2212
commit
b51655b958
13 changed files with 22 additions and 22 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue