Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 196433c5 authored by YOSHIFUJI Hideaki's avatar YOSHIFUJI Hideaki Committed by David S. Miller
Browse files

[IPV6]: Use macro for rwlock_t initialization.

parent ca403302
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

	/*