ematch: Fix auto-loading of ematch modules.
[pandora-kernel.git] / net / sched / ematch.c
index 88d93eb..088342f 100644 (file)
@@ -227,6 +227,7 @@ static int tcf_em_validate(struct tcf_proto *tp,
                                 * to replay the request.
                                 */
                                module_put(em->ops->owner);
+                               em->ops = NULL;
                                err = -EAGAIN;
                        }
 #endif