Update mcast rwlock for RT
Subsystems (2)
PATCH 1/1 Update mcast rwlock for RT
Corrects this mcast lock for RT . Seems like this should
really be an rwlock_init() .
Signed-off-by Daniel Walker <[email protected]>
net/ipv6/mcast.c +1 -1
@@ -224,7 +224,7 @@ int ipv6_sock_mc_join(struct sock *sk, i mc_lst->ifindex = dev->ifindex; mc_lst->sfmode =MCAST_EXCLUDE ; - mc_lst->sflock =RW_LOCK_UNLOCKED ; + mc_lst->sflock =RW_LOCK_UNLOCKED (mc_lst->sflock); mc_lst->sflist =NULL ;/*