ofproto: Always clone packets in PACKET_IN message.
authorEthan Jackson <ethan@nicira.com>
Tue, 3 Jan 2012 22:22:44 +0000 (14:22 -0800)
committerEthan Jackson <ethan@nicira.com>
Tue, 10 Jan 2012 22:30:15 +0000 (14:30 -0800)
commit29ebe8803c3a1ef03cbc92fbc352a2cdce5a8f55
tree22fa2f5a59f86e647cd245d3abea701bf23d163f
parent15056dc8aa9e62a96c8f9b9a6e2c90d086e3a01d
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>
lib/ofp-util.c
lib/ofp-util.h
ofproto/connmgr.c
ofproto/connmgr.h
ofproto/ofproto-dpif.c