diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-01-04 16:56:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-01-04 16:56:31 -0500 |
commit | 196433c5b788eb732fdcf92449274e302f089ce4 (patch) | |
tree | 905f1da8155eb2b2b00e98e30532ba33fbc3a909 /net/ipv6/mcast.c | |
parent | ca4033024858fcbd392465ba9cbf4c838aedfb58 (diff) |
[IPV6]: Use macro for rwlock_t initialization.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/mcast.c')
-rw-r--r-- | net/ipv6/mcast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index f829a4ad3ccc..1cf305a9f8dd 100644 --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c | |||
@@ -224,7 +224,7 @@ int ipv6_sock_mc_join(struct sock *sk, int ifindex, struct in6_addr *addr) | |||
224 | 224 | ||
225 | mc_lst->ifindex = dev->ifindex; | 225 | mc_lst->ifindex = dev->ifindex; |
226 | mc_lst->sfmode = MCAST_EXCLUDE; | 226 | mc_lst->sfmode = MCAST_EXCLUDE; |
227 | mc_lst->sflock = RW_LOCK_UNLOCKED; | 227 | rwlock_init(&mc_lst->sflock); |
228 | mc_lst->sflist = NULL; | 228 | mc_lst->sflist = NULL; |
229 | 229 | ||
230 | /* | 230 | /* |