Skip to content

Commit

Permalink
[IPV6]: Dumb typo in generic csum_ipv6_magic()
Browse files Browse the repository at this point in the history
... duh

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Al Viro authored and David S. Miller committed Dec 22, 2006
1 parent 2412318 commit b23e353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/ip6_checksum.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
carry = (sum < uproto);
sum += carry;

return csum_fold((__force __wsum)csum);
return csum_fold((__force __wsum)sum);
}

#endif
Expand Down

0 comments on commit b23e353

Please sign in to comment.