projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b11687
)
[NET]: Annotate csum_tcpudp_magic() callers in net/*
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 15 Nov 2006 05:28:51 +0000
(21:28 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:23:30 +0000
(21:23 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv4.c
patch
|
blob
|
blame
|
history
diff --git
a/net/dccp/ipv4.c
b/net/dccp/ipv4.c
index 35985334daeee8bc16bb197fe7b8b497a54db4c5..6bca71929de5116139eeeb824e9d5a3daed637f7 100644
(file)
--- a/
net/dccp/ipv4.c
+++ b/
net/dccp/ipv4.c
@@
-344,7
+344,7
@@
out:
sock_put(sk);
}
-static inline
u
16 dccp_v4_csum_finish(struct sk_buff *skb,
+static inline
__sum
16 dccp_v4_csum_finish(struct sk_buff *skb,
__be32 src, __be32 dst)
{
return csum_tcpudp_magic(src, dst, skb->len, IPPROTO_DCCP, skb->csum);