]> git.baikalelectronics.ru Git - kernel.git/commit
net: sock: replace sk_state_load with inet_sk_state_load and remove sk_state_store
authorYafang Shao <laoar.shao@gmail.com>
Wed, 20 Dec 2017 03:12:52 +0000 (11:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Dec 2017 19:00:25 +0000 (14:00 -0500)
commit11baece28899bd8bbcb7507b1c0a292f3db4223f
tree0aa6bd09827ff4654e2b3f563cb0059945fd6194
parent1c390cfba58833262dc22febf2f7b07885f21730
net: sock: replace sk_state_load with inet_sk_state_load and remove sk_state_store

sk_state_load is only used by AF_INET/AF_INET6, so rename it to
inet_sk_state_load and move it into inet_sock.h.

sk_state_store is removed as it is not used any more.

Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_sock.h
include/net/sock.h
net/ipv4/inet_connection_sock.c
net/ipv4/tcp.c
net/ipv4/tcp_diag.c
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c