mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
[NET]: annotate csum_ipv6_magic() callers in net/*
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
2bda285315
commit
868c86bcb5
9 changed files with 31 additions and 30 deletions
|
@ -124,10 +124,10 @@ static inline int udplite_sender_cscov(struct udp_sock *up, struct udphdr *uh)
|
|||
return cscov;
|
||||
}
|
||||
|
||||
static inline u32 udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb)
|
||||
static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb)
|
||||
{
|
||||
u32 csum = 0;
|
||||
int off, len, cscov = udplite_sender_cscov(udp_sk(sk), skb->h.uh);
|
||||
__wsum csum = 0;
|
||||
|
||||
skb->ip_summed = CHECKSUM_NONE; /* no HW support for checksumming */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue