ofp-util: Work on decoding OF1.1 flow_mods.
[openvswitch] / datapath / genl_exec.c
index e5795294506f037a51650e1c412a89d3098e8b9e..ba8dfc09de25e8048938827e4a368491e3e788d8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2007-2012 Nicira Networks.
+ * Copyright (c) 2007-2012 Nicira, Inc.
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public
@@ -19,6 +19,7 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/version.h>
+#include <linux/completion.h>
 #include <net/genetlink.h>
 #include "genl_exec.h"
 
@@ -100,6 +101,8 @@ int genl_exec(genl_exec_func_t func, void *data)
 
        genl_exec_function = func;
        genl_exec_data = data;
+
+       /* There is no need to send msg to current namespace. */
        ret = genlmsg_unicast(&init_net, genlmsg_skb, 0);
 
        if (!ret) {