mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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
|
@ -1527,7 +1527,7 @@ out:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static int tcp_v6_checksum_init(struct sk_buff *skb)
|
||||
static __sum16 tcp_v6_checksum_init(struct sk_buff *skb)
|
||||
{
|
||||
if (skb->ip_summed == CHECKSUM_COMPLETE) {
|
||||
if (!tcp_v6_check(skb->h.th,skb->len,&skb->nh.ipv6h->saddr,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue