]> code.ossystems Code Review - openembedded-core.git/commit
dhcp: Fix REQUIRE(ctx->running) assertion triggered on SIGTERM/SIGINT
authorOvidiu Panait <ovidiu.panait@windriver.com>
Thu, 27 Feb 2020 11:45:49 +0000 (13:45 +0200)
committerArmin Kuster <akuster808@gmail.com>
Sun, 15 Mar 2020 20:33:19 +0000 (13:33 -0700)
commit7235c62727e48415c4e81f852607311ec31b6e41
tree3e79e6d3e023c00af5f1dc8d3395603d78dba034
parentb8e6eb473f3697ab76f30ca8a0abe584d3d10fa6
dhcp: Fix REQUIRE(ctx->running) assertion triggered on SIGTERM/SIGINT

Closed a small window of time between the installation of graceful
shutdown signal handlers and application context startup, during which
the receipt of shutdown signal would cause a REQUIRE() assertion to
occur.  Note this issue is only visible when compiling with
ENABLE_GENTLE_SHUTDOWN defined.

Reference:
https://gitlab.isc.org/isc-projects/dhcp/issues/53

Upstream patches:
https://gitlab.isc.org/isc-projects/dhcp/commit/ce117de7a1ed3c4911b4009c1cc23fba85370a26
https://gitlab.isc.org/isc-projects/dhcp/commit/dbd36dfa82956b53683462afadfabb1b33fa3dd1
https://gitlab.isc.org/isc-projects/dhcp/commit/95944cab6035d20be270eec01254c7bb867ec705

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-connectivity/dhcp/dhcp/0001-Ensure-context-is-running-prior-to-calling-isc_app_c.patch [new file with mode: 0644]
meta/recipes-connectivity/dhcp/dhcp/0002-Added-shutdown-log-statment-to-dhcrelay.patch [new file with mode: 0644]
meta/recipes-connectivity/dhcp/dhcp/0003-Addressed-review-comment.patch [new file with mode: 0644]
meta/recipes-connectivity/dhcp/dhcp_4.4.1.bb