summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-03-31 14:13:36 -0700
committerBen Pfaff <blp@nicira.com>2011-03-31 14:28:42 -0700
commit2e2dd32bf7e78fedc6eec6f2d28a98e4781a24e4 (patch)
tree54486263b942bf0c16989bfa81b2e5cf266c78ae /ofproto
parentf41240e6f32f1162132d4f307e95e4d452e24a0f (diff)
downloadopenvswitch-2e2dd32bf7e78fedc6eec6f2d28a98e4781a24e4.tar.gz
connmgr: Fix wild pointer dereference in connmgr_broadcast().
Fixes a segfault when fail-open goes into effect.
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/connmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
index 166ef8c3f..95cc43d1f 100644
--- 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);
}