]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit964b3b71183ad2c9d0799ee0bb57a12601e76412
tree5ca84feda0d47832902152cd2f23fa87fd427ab3
parentf7a8bd5d667b297b25a1a79ecc66b85d88f6042c
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