net: build_ehash_secret() and rt_bind_peer() cleanups
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 19 Aug 2010 06:10:45 +0000 (06:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2010 07:50:16 +0000 (00:50 -0700)
Now cmpxchg() is available on all arches, we can use it in
build_ehash_secret() and rt_bind_peer() instead of using spinlocks.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found