commit | 49e8ab03ebcacd8e37660ffec20c0c46721a2800 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Aug 19 06:10:45 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 20 00:50:16 2010 -0700 |
tree | 78f17093ffdbf4e2cd788033f113888c472f0d7b | |
parent | 4da79504b2b41410dd56e9268c9ad403aa65e89c [diff] |
net: build_ehash_secret() and rt_bind_peer() cleanups 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>