projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca40330
)
[IPV6]: Use macro for rwlock_t initialization.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Wed, 4 Jan 2006 21:56:31 +0000
(13:56 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Jan 2006 21:56:31 +0000
(13:56 -0800)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/mcast.c
patch
|
blob
|
history
diff --git
a/net/ipv6/mcast.c
b/net/ipv6/mcast.c
index
f829a4a
..
1cf305a
100644
(file)
--- 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)
mc_lst->ifindex = dev->ifindex;
mc_lst->sfmode = MCAST_EXCLUDE;
-
mc_lst->sflock = RW_LOCK_UNLOCKED
;
+
rwlock_init(&mc_lst->sflock)
;
mc_lst->sflist = NULL;
/*