]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: add memory barriers to write space paths
authorjbaron@akamai.com <jbaron@akamai.com>
Mon, 20 Apr 2015 20:05:07 +0000 (20:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2015 19:57:34 +0000 (15:57 -0400)
commit04c96f6960f4d0a43519c627a2eb84c73b5456d2
treed1c703725e11d908f2d027dd62c22f83bc1e0c19
parent46479da8a6e43c780ee6c14dbef755d3105936a5
tcp: add memory barriers to write space paths

Ensure that we either see that the buffer has write space
in tcp_poll() or that we perform a wakeup from the input
side. Did not run into any actual problem here, but thought
that we should make things explicit.

Signed-off-by: Jason Baron <jbaron@akamai.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
net/ipv4/tcp_input.c