projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dced21a
)
netdev: Fix error check.
author
Alex Wang
<alexw@nicira.com>
Thu, 25 Sep 2014 18:40:24 +0000
(11:40 -0700)
committer
Alex Wang
<alexw@nicira.com>
Thu, 25 Sep 2014 21:17:54 +0000
(14:17 -0700)
Reported-by: Daniel Badea <daniel.badea@windriver.com>
Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Daniele Di Proietto <ddiproietto@vmware.com>
lib/netdev.c
patch
|
blob
|
history
diff --git
a/lib/netdev.c
b/lib/netdev.c
index
1fd5121
..
a9ad7d1
100644
(file)
--- a/
lib/netdev.c
+++ b/
lib/netdev.c
@@
-682,7
+682,7
@@
netdev_set_multiq(struct netdev *netdev, unsigned int n_txq,
MAX(n_rxq, 1))
: EOPNOTSUPP);
- if (error != EOPNOTSUPP) {
+ if (error
&& error
!= EOPNOTSUPP) {
VLOG_DBG_RL(&rl, "failed to set tx/rx queue for network device %s:"
"%s", netdev_get_name(netdev), ovs_strerror(error));
}