netfilter: ipt_REJECT: postpone the checksum calculation.
commit98b0e84aaaf2be6c40998d011c9db96ea6498e20
authorChangli Gao <xiaosuo@gmail.com>
Mon, 5 Jul 2010 08:39:17 +0000 (5 10:39 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 5 Jul 2010 08:39:17 +0000 (5 10:39 +0200)
treeb12e3f7b10ccb3a5774cbcec9a1c0ad6dbc36000
parentea8fbe8f198edea19116d4b61267e12235513225
netfilter: ipt_REJECT: postpone the checksum calculation.

postpone the checksum calculation, then if the output NIC supports checksum
offloading, we can utlize it. And though the output NIC doesn't support
checksum offloading, but we'll mangle this packet, this can free us from
updating the checksum, as the checksum calculation occurs later.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/ipt_REJECT.c