]> git.puffer.fish Git - mirror/frr.git/commit
ldpd: accept notifications during the session establishment process
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 19 Apr 2017 22:31:19 +0000 (19:31 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 5 Jun 2017 15:23:48 +0000 (12:23 -0300)
commit9b2868bc019b15a878b3b08d165194b8c00b0e63
tree53b6041e4d877608653d65fe055a436fa5686867
parent3dcdcbb478d760208e7d82241bbdc359e9479475
ldpd: accept notifications during the session establishment process

If we don't do this, we'll never trigger the backoff exponential timer
since it's impossible to distinguish between Initialization NAK's and
general errors.

Also:
* Implement some missing bits from RFC 5036;
* remove superfluous log message in session_shutdown()
  (send_notification() logs that we're sending a fatal notification).

Regression introduced by commit 8819fc3.

Fixes the following ANVL LDP regressions: 6.19 and 6.21.

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