cfm: Clear RDI on new CFM configurations.
authorEthan Jackson <ethan@nicira.com>
Fri, 20 Jul 2012 20:07:49 +0000 (13:07 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 20 Jul 2012 20:07:49 +0000 (13:07 -0700)
commit0d0c0bb535d0b305aabac5cc6f24e880808ff410
treeb25ce078a86e0c820fb69533f4869c6e1cd9600c
parentc3f72482ba4d375d2dd32de6f58ed4cdcef37ddd
cfm: Clear RDI on new CFM configurations.

When CFM is first configured, it detects no remote endpoints, and
thus sets RDI on its CCMs.  This can cause the receiver of these
CCMs to think there is a problem when really things are simply
initializing.  This patch fixes the issue by not setting the RDI
bit in CCMs until at least one fault interval has passed.

Bug #12610.
Reported-by: Paul Ingram <paul@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/cfm.c