]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
netfilter: kill redundant check code in which setting ip_summed value
authorShan Wei <shanwei@cn.fujitsu.com>
Mon, 14 Jun 2010 14:20:02 +0000 (16:20 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Jun 2010 14:20:02 +0000 (16:20 +0200)
If the returned csum value is 0, We has set ip_summed with
CHECKSUM_UNNECESSARY flag in __skb_checksum_complete_head().

So this patch kills the check and changes to return to upper
caller directly.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found