]> git.puffer.fish Git - mirror/frr.git/commit
ldpd: fix bug in pseudowire control-word negotiation
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 2 Jun 2017 14:14:54 +0000 (11:14 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 3 Jun 2017 01:07:33 +0000 (22:07 -0300)
commitbe0fbdebca3dbb9266a5196d88f504141ea44b0f
tree74ed5631b11d9d4287d2d02cd31e340da40faa6b
parentf0683d22277017e5a93798ce88a06fc7927dc326
ldpd: fix bug in pseudowire control-word negotiation

Bingen discovered a bug in the pseudowire control-word negotiation that
might happen when the "control-word exclude" command is used. Under some
very specific conditions, ldpd might ignore a PWID label mapping when
it shouldn't.

This patch removes a wrong optimization that was preventing ldpd to call
l2vpn_pw_reset() every time we change the configuration of a pseudowire.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ldpd/ldpd.c