aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2015-09-25 14:39:19 +0000
committerDavid S. Miller <[email protected]>2015-09-25 20:00:38 +0000
commit5d062de7f8ea1ca7c635957ff1144fba815ba34c (patch)
tree913926fe8c4d4d3594a4a8558aa3ac6feb80ded6 /net/ipv6/tcp_ipv6.c
parenttcp: remove tcp_ecn_make_synack() socket argument (diff)
downloadkernel-5d062de7f8ea1ca7c635957ff1144fba815ba34c.tar.gz
kernel-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 <[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