diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2005-08-10 03:08:09 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2005-08-29 22:41:49 +0000 |
| commit | f3f05f7046e7c85b04af390d95a82a27160dd5d0 (patch) | |
| tree | 9a4a552c030ea8b2428ceee75311d73a6b339255 /net/ipv6/tcp_ipv6.c | |
| parent | [INET]: Move tcp_port_rover to inet_hashinfo (diff) | |
| download | kernel-f3f05f7046e7c85b04af390d95a82a27160dd5d0.tar.gz kernel-f3f05f7046e7c85b04af390d95a82a27160dd5d0.zip | |
[INET]: Generalise the tcp_listen_ lock routines
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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 362ef5a64062..93a66b9a76e1 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -229,7 +229,7 @@ static __inline__ void __tcp_v6_hash(struct sock *sk) if (sk->sk_state == TCP_LISTEN) { list = &tcp_hashinfo.listening_hash[inet_sk_listen_hashfn(sk)]; lock = &tcp_hashinfo.lhash_lock; - tcp_listen_wlock(); + inet_listen_wlock(&tcp_hashinfo); } else { sk->sk_hashent = tcp_v6_sk_hashfn(sk); list = &tcp_hashinfo.ehash[sk->sk_hashent].chain; |
