Home
last modified time | relevance | path

Searched hist:ba537427d77cf274592f31ce94f4b4cadfad88b4 (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Dtcp_input.cdiff ba537427d77cf274592f31ce94f4b4cadfad88b4 Thu Oct 10 02:14:52 CEST 2013 Eric Dumazet <edumazet@google.com> 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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>