The design of BGP Graceful Restart baffles me a bunch
Expectation: State is retained (for the grace time) if
- Session is explicitly shutdown with a graceful restart reason, or
- The peer establishes a new session and states it's restarting in its OPEN message (and the non-restarting router hadn't yet observed that the connection has dropped)
Reality: State is retained if
- You don't send a clean shutdown message
It kinda feels designed to cause accidental packet blackholing to me...