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:
d3c9a0e
)
vlandev: Fix an obvious predicate logic crash bug.
author
ZhengLingyun
<konghuarukhr@163.com>
Thu, 10 Apr 2014 15:07:05 +0000
(08:07 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 10 Apr 2014 15:10:55 +0000
(08:10 -0700)
Signed-off-by: ZhengLingyun <konghuarukhr@163.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/vlandev.c
patch
|
blob
|
history
diff --git
a/lib/vlandev.c
b/lib/vlandev.c
index
282d28c
..
6790b7b
100644
(file)
--- a/
lib/vlandev.c
+++ b/
lib/vlandev.c
@@
-375,7
+375,7
@@
static int
vlandev_del__(const char *vlan_dev)
{
struct shash_node *vd_node = shash_find(&vlan_devs, vlan_dev);
- if (
!
vd_node) {
+ if (vd_node) {
struct vlan_dev *vd = vd_node->data;
struct vlan_real_dev *vrd = vd->real_dev;