|
@@ -609,6 +609,8 @@ static void batadv_mcast_want_unsnoop_update(struct batadv_priv *bat_priv,
|
|
|
struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node;
|
|
|
struct hlist_head *head = &bat_priv->mcast.want_all_unsnoopables_list;
|
|
|
|
|
|
+ lockdep_assert_held(&orig->mcast_handler_lock);
|
|
|
+
|
|
|
/* switched from flag unset to set */
|
|
|
if (mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES &&
|
|
|
!(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) {
|
|
@@ -652,6 +654,8 @@ static void batadv_mcast_want_ipv4_update(struct batadv_priv *bat_priv,
|
|
|
struct hlist_node *node = &orig->mcast_want_all_ipv4_node;
|
|
|
struct hlist_head *head = &bat_priv->mcast.want_all_ipv4_list;
|
|
|
|
|
|
+ lockdep_assert_held(&orig->mcast_handler_lock);
|
|
|
+
|
|
|
/* switched from flag unset to set */
|
|
|
if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV4 &&
|
|
|
!(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) {
|
|
@@ -695,6 +699,8 @@ static void batadv_mcast_want_ipv6_update(struct batadv_priv *bat_priv,
|
|
|
struct hlist_node *node = &orig->mcast_want_all_ipv6_node;
|
|
|
struct hlist_head *head = &bat_priv->mcast.want_all_ipv6_list;
|
|
|
|
|
|
+ lockdep_assert_held(&orig->mcast_handler_lock);
|
|
|
+
|
|
|
/* switched from flag unset to set */
|
|
|
if (mcast_flags & BATADV_MCAST_WANT_ALL_IPV6 &&
|
|
|
!(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) {
|