X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fgenl_exec.c;h=ba8dfc09de25e8048938827e4a368491e3e788d8;hb=14f94f9aa664b7f6cca68952726634d7d22526ce;hp=e5795294506f037a51650e1c412a89d3098e8b9e;hpb=b9c15df93753b640008f879315e26833c2e95468;p=sliver-openvswitch.git diff --git a/datapath/genl_exec.c b/datapath/genl_exec.c index e57952945..ba8dfc09d 100644 --- a/datapath/genl_exec.c +++ b/datapath/genl_exec.c @@ -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 +#include #include #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) {