]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_dup4: remove redundant checksum recalculation
authorLiping Zhang <liping.zhang@spreadtrum.com>
Sat, 30 Jul 2016 11:44:12 +0000 (19:44 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 Aug 2016 22:42:47 +0000 (00:42 +0200)
commitdb83ca413abb9e9b69716ce67efc804289ac15ef
tree65e18b82c059c3be10dc0dc0732f280fc5268451
parent996f7204db9eee56e69f249f132418655c81dfcd
netfilter: nf_dup4: remove redundant checksum recalculation

IP header checksum will be recalculated at ip_local_out, so
there's no need to calculated it here, remove it. Also update
code comments to illustrate it, and delete the misleading
comments about checksum recalculation.

Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nf_dup_ipv4.c