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/ipv6/raw.c | |
parent | fdb184d1467f9ed5b17c553b85eb1bb72bdbf62f (diff) | |
download | talos-op-linux-429da4c0b1e59837ec946cdf0f04eb1899586923.tar.gz talos-op-linux-429da4c0b1e59837ec946cdf0f04eb1899586923.zip |
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/ipv6/raw.c')
0 files changed, 0 insertions, 0 deletions