]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
commitc86ee67c7c4bbab2818f653eb00a70671821624a
tree9891e77244749ee9d3dea22a948c80e554a27788
parentf5c5440d40a24c5dc8030cde0a03debe87de4afb
netfilter: kill redundant check code in which setting ip_summed value

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>
net/ipv4/netfilter.c
net/ipv6/netfilter.c