]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix crash in soft-reconfiguration
authorChristian Franke <chris@opensourcerouting.org>
Mon, 28 Jan 2013 06:14:43 +0000 (07:14 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 1 Feb 2013 16:55:04 +0000 (17:55 +0100)
commitd53d8fda42e1ce43852d3b4cff914ce79b5c6785
tree65fabd06d7388d593c1260c18558acd29c82b523
parentaeef13b0d5b50a90f293c93eb5a34c2a099d140b
bgpd: fix crash in soft-reconfiguration

Commit 8692c50652 introduced a bug where bgpd would crash on
soft-reconfiguration.

This happens e.g. when there are filtered unicast routes because
rn->info is NULL in that case, which the code did not account for.

Reported-by: Paweł Staszewski <pstaszewski@itcare.pl>
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/bgp_route.c