aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2013-10-10 00:14:52 +0000
committerDavid S. Miller <[email protected]>2013-10-10 04:08:07 +0000
commitba537427d77cf274592f31ce94f4b4cadfad88b4 (patch)
treecf6398384e262e3460109a173daea105f88413ad /net/ipv6/tcp_ipv6.c
parentinet: includes a sock_common in request_sock (diff)
downloadkernel-ba537427d77cf274592f31ce94f4b4cadfad88b4.tar.gz
kernel-ba537427d77cf274592f31ce94f4b4cadfad88b4.zip
tcp: use ACCESS_ONCE() in tcp_update_pacing_rate()
sk_pacing_rate is read by sch_fq packet scheduler at any time, with no synchronization, so make sure we update it in a sensible way. ACCESS_ONCE() is how we instruct compiler to not do stupid things, like using the memory location as a temporary variable. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions