[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>
This commit is contained in:
parent
ca40330248
commit
196433c5b7
@ -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;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user