diff options
| -rw-r--r-- | include/net/ip6_checksum.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip6_checksum.h b/include/net/ip6_checksum.h index 68e2b32cf1d6..bc1b0fda2b04 100644 --- a/include/net/ip6_checksum.h +++ b/include/net/ip6_checksum.h | |||
| @@ -87,7 +87,7 @@ static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, | |||
| 87 | carry = (sum < uproto); | 87 | carry = (sum < uproto); |
| 88 | sum += carry; | 88 | sum += carry; |
| 89 | 89 | ||
| 90 | return csum_fold((__force __wsum)csum); | 90 | return csum_fold((__force __wsum)sum); |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | #endif | 93 | #endif |
