connmgr: Do not persist OpenFlow settings from one session to another.
authorBen Pfaff <blp@nicira.com>
Wed, 25 Jan 2012 23:54:22 +0000 (15:54 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 9 Feb 2012 21:23:36 +0000 (13:23 -0800)
commitc4b3187200f8b00252795bd5536c1e3af11d9b08
tree1a5f4962571a8853cc523d39b2df4c8532d41f6c
parentfdb3539e0108dff4ffd48b5b860786b2ab27046c
connmgr: Do not persist OpenFlow settings from one session to another.

Each OpenFlow session should begin fresh, with settings that are the
default for OpenFlow, but the connection manager was mistakenly persisting
them from one session to the next for "primary" controllers.

This is a bug, but it is a long-standing one.  I found the problem by
inspection, not through a bug report, so I do not think that it causes much
harm in practice.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/connmgr.c