Updated to 2.6.32.27
/net/ipv4/tcp_input.c
blob:2433bcde524cee3826fe14b5d02e240860224359 -> blob:ce1ce82e46b1462299c40879a40c3320d6f545fb
--- net/ipv4/tcp_input.c
+++ net/ipv4/tcp_input.c
@@ -3969,6 +3969,8 @@ static void tcp_reset(struct sock *sk)
default:
sk->sk_err = ECONNRESET;
}
+ /* This barrier is coupled with smp_rmb() in tcp_poll() */
+ smp_wmb();
if (!sock_flag(sk, SOCK_DEAD))
sk->sk_error_report(sk);