--- lib/dpif-linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c index 42a3f72..09f02b3 100644 --- a/lib/dpif-linux.c +++ b/lib/dpif-linux.c @@ -298,7 +298,7 @@ vport_create_socksp(uint32_t n_socks, int *error) size_t i; for (i = 0; i < n_socks; i++) { - *error = nl_sock_create(NETLINK_GENERIC, &socksp[i]); + *error = nl_sock_create_mmap(NETLINK_GENERIC, &socksp[i]); if (*error) { goto error; } @@ -953,7 +953,7 @@ dpif_linux_port_poll(const struct dpif *dpif_, char **devnamep) struct nl_sock *sock; int error; - error = nl_sock_create(NETLINK_GENERIC, &sock); + error = nl_sock_create_mmap(NETLINK_GENERIC, &sock); if (error) { return error; } -- 1.8.3.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev