aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-09-08 21:31:35 -0700
committerDavid S. Miller <davem@davemloft.net>2010-09-08 21:31:35 -0700
commite0386005ff2a729998735e10769d99e1acbc2dd1 (patch)
treec04134571b728581d9692fb16dffcdd38d52dbda /net/unix/af_unix.c
parentcxacru: ignore cx82310_eth devices (diff)
downloadwireguard-linux-e0386005ff2a729998735e10769d99e1acbc2dd1.tar.xz
wireguard-linux-e0386005ff2a729998735e10769d99e1acbc2dd1.zip
net: inet_add_protocol() can use cmpxchg()
Use cmpxchg() to get rid of spinlocks in inet_add_protocol() and friends. inet_protos[] & inet6_protos[] are moved to read_mostly section Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions