summaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcpv6_offload.c
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2016-04-05 18:41:14 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-05 22:29:36 +0200
commitb9bb53f3836f4eb2bdeb3447be11042bd29c2408 (patch)
treef1052dadfe3e5694c235c77c7447a75a7ec353c1 /net/ipv6/tcpv6_offload.c
parentMerge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirshe... (diff)
downloadlinux-b9bb53f3836f4eb2bdeb3447be11042bd29c2408.tar.xz
linux-b9bb53f3836f4eb2bdeb3447be11042bd29c2408.zip
sock: convert sk_peek_offset functions to WRITE_ONCE
Make the peek offset interface safe to use in lockless environments. Use READ_ONCE and WRITE_ONCE to avoid race conditions between testing and updating the peek offset. Suggested-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcpv6_offload.c')
0 files changed, 0 insertions, 0 deletions