diff options
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index bb7e8ba821f4..749f80c21e22 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -1207,7 +1207,7 @@ restart: | |||
1207 | sk->sk_state = TCP_ESTABLISHED; | 1207 | sk->sk_state = TCP_ESTABLISHED; |
1208 | sock_hold(newsk); | 1208 | sock_hold(newsk); |
1209 | 1209 | ||
1210 | smp_mb__after_atomic_inc(); /* sock_hold() does an atomic_inc() */ | 1210 | smp_mb__after_atomic(); /* sock_hold() does an atomic_inc() */ |
1211 | unix_peer(sk) = newsk; | 1211 | unix_peer(sk) = newsk; |
1212 | 1212 | ||
1213 | unix_state_unlock(sk); | 1213 | unix_state_unlock(sk); |