summaryrefslogtreecommitdiff
path: root/net/openvswitch/datapath.c
diff options
context:
space:
mode:
authorIgnacy Gawędzki <ignacy.gawedzki@green-communications.fr>2015-02-17 20:15:20 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-20 15:30:56 -0500
commit34eea79e2664b314cab6a30fc582fdfa7a1bb1df (patch)
treefac30f2ab8adee79b12cdafd428df0ec6eaf984f /net/openvswitch/datapath.c
parent54da5a8be3c1e924c35480eb44c6e9b275f6444e (diff)
downloadlwn-34eea79e2664b314cab6a30fc582fdfa7a1bb1df.tar.gz
lwn-34eea79e2664b314cab6a30fc582fdfa7a1bb1df.zip
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>
Diffstat (limited to 'net/openvswitch/datapath.c')
0 files changed, 0 insertions, 0 deletions