mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[NET]: Annotate callers of the reset of checksum.h stuff.
Signed-off-by: Al Viro <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
5084205faf
commit
5f92a7388a
6 changed files with 8 additions and 7 deletions
|
|
@ -262,7 +262,7 @@ static int icmpv6_getfrag(void *from, char *to, int offset, int len, int odd, st
|
|||
{
|
||||
struct icmpv6_msg *msg = (struct icmpv6_msg *) from;
|
||||
struct sk_buff *org_skb = msg->skb;
|
||||
__u32 csum = 0;
|
||||
__wsum csum = 0;
|
||||
|
||||
csum = skb_copy_and_csum_bits(org_skb, msg->offset + offset,
|
||||
to, len, csum);
|
||||
|
|
|
|||
|
|
@ -530,7 +530,7 @@ static int rawv6_push_pending_frames(struct sock *sk, struct flowi *fl,
|
|||
|
||||
/* in case cksum was not initialized */
|
||||
if (unlikely(csum))
|
||||
tmp_csum = csum_sub(tmp_csum, csum);
|
||||
tmp_csum = csum_sub(tmp_csum, csum_unfold(csum));
|
||||
|
||||
csum = csum_ipv6_magic(&fl->fl6_src,
|
||||
&fl->fl6_dst,
|
||||
|
|
|
|||
Loading…
Reference in a new issue