diff options
author | Ulrich Weber <ulrich.weber@sophos.com> | 2013-01-02 05:24:40 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-01-04 20:03:02 +0100 |
commit | 429da4c0b1e59837ec946cdf0f04eb1899586923 (patch) | |
tree | a7b9ce4917c399fb7d67bd7e3132f70b35f536ac /net/netfilter | |
parent | fdb184d1467f9ed5b17c553b85eb1bb72bdbf62f (diff) |
netfilter: ip6t_NPT: fix IPv6 NTP checksum calculation
csum16_add() has a broken carry detection, should be:
sum += sum < (__force u16)b;
Instead of fixing csum16_add, remove the custom checksum
functions and use the generic csum_add/csum_sub ones.
Signed-off-by: Ulrich Weber <ulrich.weber@sophos.com>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions