git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/tap: add link status notification
[dpdk.git]
/
drivers
/
net
/
tap
/
tap_tcmsgs.c
diff --git
a/drivers/net/tap/tap_tcmsgs.c
b/drivers/net/tap/tap_tcmsgs.c
index
9a146d1
..
af1c9ae
100644
(file)
--- a/
drivers/net/tap/tap_tcmsgs.c
+++ b/
drivers/net/tap/tap_tcmsgs.c
@@
-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");