aboutsummaryrefslogtreecommitdiff
path: root/ofproto/connmgr.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-01-03 14:22:44 -0800
committerEthan Jackson <ethan@nicira.com>2012-01-10 14:30:15 -0800
commit29ebe8803c3a1ef03cbc92fbc352a2cdce5a8f55 (patch)
tree22fa2f5a59f86e647cd245d3abea701bf23d163f /ofproto/connmgr.h
parent15056dc8aa9e62a96c8f9b9a6e2c90d086e3a01d (diff)
ofproto: Always clone packets in PACKET_IN message.
This patch removes an optimization which significantly complicates the code in ways which would get worse in future patches if not removed. Furthermore, future patches will have fewer cases which can take advantage of the optimization further mitigating its justification. Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'ofproto/connmgr.h')
-rw-r--r--ofproto/connmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/connmgr.h b/ofproto/connmgr.h
index 02243526..d8a5e56b 100644
--- a/ofproto/connmgr.h
+++ b/ofproto/connmgr.h
@@ -110,7 +110,7 @@ void connmgr_send_port_status(struct connmgr *, const struct ofp_phy_port *,
void connmgr_send_flow_removed(struct connmgr *,
const struct ofputil_flow_removed *);
void connmgr_send_packet_in(struct connmgr *, const struct ofputil_packet_in *,
- const struct flow *, struct ofpbuf *rw_packet);
+ const struct flow *);
/* Fail-open settings. */
enum ofproto_fail_mode connmgr_get_fail_mode(const struct connmgr *);