secchan: Make sure fail-open doesn't drop the first messages from connection.
authorBen Pfaff <blp@nicira.com>
Wed, 15 Oct 2008 22:46:48 +0000 (15:46 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 15 Oct 2008 22:46:48 +0000 (15:46 -0700)
commit4a7706ed497c021d66de3bad4de0b49ca50e7441
tree8a98a32eadd50b75718f2587f4045753559df464
parent37c94b45fdb66b9c2e75d2d5857786e4d4ce74bc
secchan: Make sure fail-open doesn't drop the first messages from connection.

Fail-open mode is entered or left in a secchan "periodic" callback, which
may not be called immediately after the connection to the controller
actually comes up.  This can cause the fail-open local-packet CB to
locally handle messages from the datapath and drop them, causing the
controller to think that it's being ignore and drop the connection.

Thanks to Dan for raising the issue.
secchan/secchan.c