summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorEric Dumazet2015-09-25 16:39:19 +0200
committerDavid S. Miller2015-09-25 22:00:38 +0200
commit5d062de7f8ea1ca7c635957ff1144fba815ba34c (patch)
tree913926fe8c4d4d3594a4a8558aa3ac6feb80ded6 /net/ipv6/ip6_output.c
parenttcp: remove tcp_ecn_make_synack() socket argument (diff)
downloadkernel-qcow2-linux-5d062de7f8ea1ca7c635957ff1144fba815ba34c.tar.gz
kernel-qcow2-linux-5d062de7f8ea1ca7c635957ff1144fba815ba34c.tar.xz
kernel-qcow2-linux-5d062de7f8ea1ca7c635957ff1144fba815ba34c.zip
tcp: constify tcp_make_synack() socket argument
listener socket is not locked when tcp_make_synack() is called. We better make sure no field is written. There is one exception : Since SYNACK packets are attached to the listener at this moment (or SYN_RECV child in case of Fast Open), sock_wmalloc() needs to update sk->sk_wmem_alloc, but this is done using atomic operations so this is safe. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions