diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2017-12-20 04:12:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-20 20:00:25 +0100 |
commit | 986ffdfd08dbaae721e82720e6bfc2c307e732dd (patch) | |
tree | 0aa6bd09827ff4654e2b3f563cb0059945fd6194 /net/ipv6/tcp_ipv6.c | |
parent | net: tracepoint: replace tcp_set_state tracepoint with inet_sock_set_state tr... (diff) | |
download | linux-986ffdfd08dbaae721e82720e6bfc2c307e732dd.tar.xz linux-986ffdfd08dbaae721e82720e6bfc2c307e732dd.zip |
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>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 7178476b3d2f..aa12a26a96c6 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -1795,7 +1795,7 @@ static void get_tcp6_sock(struct seq_file *seq, struct sock *sp, int i) timer_expires = jiffies; } - state = sk_state_load(sp); + state = inet_sk_state_load(sp); if (state == TCP_LISTEN) rx_queue = sp->sk_ack_backlog; else |