commit | 34eea79e2664b314cab6a30fc582fdfa7a1bb1df | [log] [tgz] |
---|---|---|
author | Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr> | Tue Feb 17 20:15:20 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 20 15:30:56 2015 -0500 |
tree | fac30f2ab8adee79b12cdafd428df0ec6eaf984f | |
parent | 54da5a8be3c1e924c35480eb44c6e9b275f6444e [diff] |
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 <ignacy.gawedzki@green-communications.fr> Acked-by: Cong Wang <cwang@twopensource.com> Signed-off-by: David S. Miller <davem@davemloft.net>