From: Maria Matejka Date: Thu, 6 Jun 2024 21:06:27 +0000 (+0200) Subject: Fixed non-exporting protocol reload crash X-Git-Tag: v3.0.0~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b548ffe197dd3dcb0ca5844f325b4175ce23cd49;p=thirdparty%2Fbird.git Fixed non-exporting protocol reload crash --- diff --git a/nest/proto.c b/nest/proto.c index 963edce68..0b187c1b5 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -2579,7 +2579,8 @@ proto_cmd_reload(struct proto *p, uintptr_t _prr, int cnt UNUSED) channel_request_reload(c, channel_create_reload_request(prr)); if (prr->dir & CMD_RELOAD_OUT) - rt_export_refeed(&c->out_req, channel_create_reload_request(prr)); + if (c->out_req.name) + rt_export_refeed(&c->out_req, channel_create_reload_request(prr)); } cli_msg(-15, "%s: reloading", p->name);