From: Ignacy Gawędzki Date: Tue, 17 Feb 2015 19:15:20 +0000 (+0100) Subject: ematch: Fix auto-loading of ematch modules. X-Git-Tag: omap-for-v4.1/wl12xx-dt~68^2~82 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34eea79e2664b314cab6a30fc582fdfa7a1bb1df;p=pandora-kernel.git ematch: Fix auto-loading of ematch modules. In tcf_em_validate(), after calling request_module() to load the kind-specific module, set em->ops to NULL before returning -EAGAIN, so that module_put() is not called again by tcf_em_tree_destroy(). Signed-off-by: Ignacy Gawędzki Acked-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed