tcp: constify tcp_openreq_init_rwin()
authorEric Dumazet <edumazet@google.com>
Fri, 25 Sep 2015 14:39:09 +0000 (07:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 20:00:36 +0000 (13:00 -0700)
commitb1964b5fce389a5660139ca39c25ff294da07b4f
tree9e165bbd7f65719fa9f1330fe33edfa3f49b3e67
parentb40cf18ef7961b6d67732e234780586590510ce1
tcp: constify tcp_openreq_init_rwin()

Soon, listener socket wont be locked when tcp_openreq_init_rwin()
is called. We need to read socket fields once, as their value
could change under us.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_minisocks.c