[ovs-git] Open vSwitch: bfd: Set next_tx correctly when processing packets (master)

dev at openvswitch.org dev at openvswitch.org
Tue Dec 17 22:29:56 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  122bbcc44da26f92131f4d3032df427af6d04ce6 (commit)
      from  bf24a5f9cd5965767e040d2b3245a7fb289601c6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 122bbcc44da26f92131f4d3032df427af6d04ce6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=122bbcc44da26f92131f4d3032df427af6d04ce6
Author: Joe Stringer <joestringer at nicira.com>
		
bfd: Set next_tx correctly when processing packets
		
In the case where we have not yet sent a control packet for a bfd
connection, and we receive a control packet from the remote host,
bfd->next_tx is updated to an unusual value. This causes the logging to
incorrectly report that there has been long delays (in the order of
weeks) since the last bfd transmission time.

This patch only modifies bfd->next_tx in this case if we are not
expecting to immediately send a control packet. This should mean that
bfd->next_tx is either 0 (immediate tx) or in the order of time_msec().

Signed-off-by: Joe Stringer <joestringer at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/bfd.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list