ip_frag: Remove some atomic ops
authorEric Dumazet <eric.dumazet@gmail.com>
Sun, 13 Jun 2010 23:02:24 +0000 (23:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2010 01:12:44 +0000 (18:12 -0700)
commitd27f9b35827ec91d71d3561c127a0a8135fb470d
treea6a9c67628bf3b807d8bf24375fe6c075b25af32
parent2bbdf389a9432270147c8e8e35b021ad61772f65
ip_frag: Remove some atomic ops

Instead of doing one atomic operation per frag, we can factorize them.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_fragment.c
net/ipv6/reassembly.c