tcp: constify listener socket in tcp_v[46]_init_req()
authorEric Dumazet <edumazet@google.com>
Fri, 25 Sep 2015 14:39:08 +0000 (07:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Sep 2015 20:00:36 +0000 (13:00 -0700)
commitb40cf18ef7961b6d67732e234780586590510ce1
tree5ca84feda0d47832902152cd2f23fa87fd427ab3
parent6ea29da1d04f56e167ec8cc5ed15e927997d9d67
tcp: constify listener socket in tcp_v[46]_init_req()

Soon, listener socket spinlock will no longer be held,
add const arguments to tcp_v[46]_init_req() to make clear these
functions can not mess socket fields.

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