]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/tap/tap_tcmsgs.c
net/tap: add link status notification
[dpdk.git] / drivers / net / tap / tap_tcmsgs.c
index 9a146d165b083479bb36b7819ffcb408f8b43bca..af1c9aec0d220b2c1e147c810c9dc92a92e55321 100644 (file)
@@ -107,7 +107,7 @@ qdisc_del(int nlsk_fd, uint16_t ifindex, struct qdisc *qinfo)
        msg.t.tcm_parent = qinfo->parent;
        /* if no netlink socket is provided, create one */
        if (!nlsk_fd) {
-               fd = nl_init();
+               fd = nl_init(0);
                if (fd < 0) {
                        RTE_LOG(ERR, PMD,
                                "Could not delete QDISC: null netlink socket\n");