X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsched%2Fematch.c;h=e82519e548d70c747f602bc179ca487f120ef5af;hb=63b40456a30912084c90753582137b9e0495c5c3;hp=b29439ddcf717053923a38b610a8ee89cac17744;hpb=25f666300625d894ebe04bac2b4b3aadb907c861;p=pandora-kernel.git diff --git a/net/sched/ematch.c b/net/sched/ematch.c index b29439ddcf71..e82519e548d7 100644 --- a/net/sched/ematch.c +++ b/net/sched/ematch.c @@ -224,7 +224,7 @@ static int tcf_em_validate(struct tcf_proto *tp, if (em->ops == NULL) { err = -ENOENT; -#ifdef CONFIG_KMOD +#ifdef CONFIG_MODULES __rtnl_unlock(); request_module("ematch-kind-%u", em_hdr->kind); rtnl_lock(); @@ -410,7 +410,7 @@ void tcf_em_tree_destroy(struct tcf_proto *tp, struct tcf_ematch_tree *tree) if (em->ops->destroy) em->ops->destroy(tp, em); else if (!tcf_em_is_simple(em)) - kfree(em->data); + kfree((void *) em->data); module_put(em->ops->owner); } }