Message ID | 20240201110110.29129-3-sw@simonwunderlich.de (mailing list archive) |
---|---|
State | Accepted |
Commit | 0a186b49bba596b81de5a686ce5bfc9cd48ab3ef |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [1/2] batman-adv: mcast: fix mcast packet type counter on timeouted nodes | expand |
diff --git a/net/batman-adv/multicast.c b/net/batman-adv/multicast.c index b4f8b4af1722..14088c4ff2f6 100644 --- a/net/batman-adv/multicast.c +++ b/net/batman-adv/multicast.c @@ -2175,6 +2175,7 @@ void batadv_mcast_free(struct batadv_priv *bat_priv) cancel_delayed_work_sync(&bat_priv->mcast.work); batadv_tvlv_container_unregister(bat_priv, BATADV_TVLV_MCAST, 2); + batadv_tvlv_handler_unregister(bat_priv, BATADV_TVLV_MCAST_TRACKER, 1); batadv_tvlv_handler_unregister(bat_priv, BATADV_TVLV_MCAST, 2); /* safely calling outside of worker, as worker was canceled above */