summaryrefslogtreecommitdiff
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorYafang Shao <laoar.shao@gmail.com>2017-12-20 06:12:52 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-20 22:00:25 +0300
commit986ffdfd08dbaae721e82720e6bfc2c307e732dd (patch)
tree0aa6bd09827ff4654e2b3f563cb0059945fd6194 /net/ipv6/tcp_ipv6.c
parent563e0bb0dc74b3ca888e24f8c08f0239fe4016b0 (diff)
downloadlinux-986ffdfd08dbaae721e82720e6bfc2c307e732dd.tar.xz
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.c2
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