diff options
author | Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr> | 2015-02-17 20:15:20 +0100 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2015-03-12 16:27:28 +0000 |
commit | c8ed7ec8a1067b4d07f80364b4cdf541fc555b1b (patch) | |
tree | 5ea9a522d7d57423c589c986e25c1463c7f052f7 /net/openvswitch | |
parent | 5c83dce4f8076624026921cf1e1969b0d37eeb4c (diff) |
ematch: Fix auto-loading of ematch modules.
commit 34eea79e2664b314cab6a30fc582fdfa7a1bb1df upstream.
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>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions