Signed-off-by: Felix Fietkau <[email protected]>
@@ -216,7 +216,7 @@ Signed-off-by: Felix Fietkau <[email protected]>
+
+restart:
+ hlist_for_each_entry(hook, &hooks, list) {
-+ if (hook->used)
++ if (hook->used || !hook->registered)
+ continue;
+ hlist_del(&hook->list);