bfd: Increase configuration efficiency.
authorAlex Wang <alexw@nicira.com>
Tue, 13 Aug 2013 23:51:08 +0000 (16:51 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 14 Aug 2013 22:37:19 +0000 (15:37 -0700)
commit2a833280b45b5fe6567349bf0d464e7f34d49a84
tree48adb37fd7eccd986a76c5a49cd6f61a3858a0c6
parent2d21cf728c148ab4a06eba2455878f8592ebeead
bfd: Increase configuration efficiency.

Currently, when there are multiple bfd configuration changes,
the bfd_poll() will only update one change at a time with the
other side. This commit moves the call to bfd_poll() at the
end of configuration processing function, so that bfd_poll()
will update all configuration changes together.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/bfd.c