Missing csum_fold() in ip6t_HL.c ?
YOSHIFUJI Hideaki / 吉藤英明
yoshfuji at linux-ipv6.org
Mon Feb 12 15:47:21 CET 2007
In article <20060915103755.GB5286 at martell.zuzino.mipt.ru> (at Fri, 15 Sep 2006 14:37:56 +0400), Alexey Dobriyan <adobriyan at gmail.com> says:
> It looks like "diffs" array is write-only. It also looks like ipv4
> occurences use some csum_fold() trickery. Was is forgotten here? Should
> "diffs" be removed?
Since we do not have checksum in IPv6 header, we do not need to
adjust checksum when we touch hoplimit.
So, just removing it should be safe.
--yoshfuji
More information about the netfilter-devel
mailing list