netfilter: defrag: remove one redundant atomic ops
authorShan Wei <shanwei@cn.fujitsu.com>
Mon, 14 Jun 2010 14:28:23 +0000 (16:28 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Jun 2010 14:28:23 +0000 (16:28 +0200)
commit841a5940eb872d70dad2b9ee7f946d8fd13a8c22
tree7727cf76129dbb783f02059517bc293183f545db
parentc86ee67c7c4bbab2818f653eb00a70671821624a
netfilter: defrag: remove one redundant atomic ops

Instead of doing one atomic operation per frag, we can factorize them.
Reported from Eric Dumazet.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv6/netfilter/nf_conntrack_reasm.c