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)
commit9f7c824a44c9f03a5ee9b6291b0685cbdb89ae58
tree65e18b82c059c3be10dc0dc0732f280fc5268451
parentceee4091d622790a7a06e5b202670ef9fdfe8c79
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