]> git.puffer.fish Git - mirror/frr.git/commit
BGPD: Cores when cleared with doppelganger. 5899/head
authorSantosh P K <sapk@vmware.com>
Tue, 3 Mar 2020 14:27:30 +0000 (06:27 -0800)
committerSantosh P K <sapk@vmware.com>
Tue, 3 Mar 2020 14:32:48 +0000 (06:32 -0800)
commitc368171c0400a87a5e24578c6ae521f30139f94b
tree242b38943985c9698dbe18a0feef366a4ad94f8f
parente66addb38514ae4848c4be22c2196f342c868553
BGPD: Cores when cleared with doppelganger.

RCA: When doppelganger still around and clear bgp is issued
there are chances of peer getting deleted and next pointer
is a  freed peer pointer.

Fix: Pass address of nnode to get next safe peer pointer.

Signed-off-by: Santosh P K <sapk@vmware.com>
bgpd/bgp_vty.c