projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f41240e
)
connmgr: Fix wild pointer dereference in connmgr_broadcast().
author
Ben Pfaff
<blp@nicira.com>
Thu, 31 Mar 2011 21:13:36 +0000
(14:13 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 31 Mar 2011 21:28:42 +0000
(14:28 -0700)
Fixes a segfault when fail-open goes into effect.
ofproto/connmgr.c
patch
|
blob
|
history
diff --git
a/ofproto/connmgr.c
b/ofproto/connmgr.c
index 166ef8c3f3cd2093142d70c45222f647f97bad9e..95cc43d1fabf2ca350f70fcef4daa637fb0b125b 100644
(file)
--- a/
ofproto/connmgr.c
+++ b/
ofproto/connmgr.c
@@
-1164,7
+1164,7
@@
connmgr_broadcast(struct connmgr *mgr, struct ofpbuf *packet)
}
}
if (prev) {
- ofconn_send_reply(
ofconn
, packet);
+ ofconn_send_reply(
prev
, packet);
} else {
ofpbuf_delete(packet);
}