projects
/
openwrt
/
staging
/
blogic.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 f829a4ad3ccca1657ca9e0308ecefd032160a598..1cf305a9f8ddf4067e6e9529c86eb71b25e3a349 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;
/*