[ovs-dev] [RFC 2/4] nlmon: Enable memory mapped Netlink socket

Thomas Graf tgraf at suug.ch
Thu May 22 23:15:59 UTC 2014


Signed-off-by: Thomas Graf <tgraf at suug.ch>
---
 utilities/nlmon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utilities/nlmon.c b/utilities/nlmon.c
index 99b060c..60eb100 100644
--- a/utilities/nlmon.c
+++ b/utilities/nlmon.c
@@ -47,7 +47,7 @@ main(int argc OVS_UNUSED, char *argv[])
     set_program_name(argv[0]);
     vlog_set_levels(NULL, VLF_ANY_FACILITY, VLL_DBG);
 
-    error = nl_sock_create(NETLINK_ROUTE, &sock);
+    error = nl_sock_create_mmap(NETLINK_ROUTE, &sock);
     if (error) {
         ovs_fatal(error, "could not create rtnetlink socket");
     }
-- 
1.8.3.1




More information about the dev mailing list