bgpd: Add some peer_lock/unlock debug code

Finding memory leaks associated with the peer data structure
is incredibly hard, add some code to allow you to find this
leaked code when needed.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2 files changed