This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit bb1d3c06a585f6db59c4e878e51190d2b01d767a
Author: Bowen Wang <[email protected]>
AuthorDate: Tue Feb 10 23:34:21 2026 +0800

    drivers/rptun: run the panic notifier last
    
    Give the panic notifier priority INT_MIN, like the reboot notifier, so
    other panic handlers such as the coredump finish before the peers are
    told to panic.
    
    Signed-off-by: Bowen Wang <[email protected]>
---
 drivers/rptun/rptun.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rptun/rptun.c b/drivers/rptun/rptun.c
index aee1538507d..9417b853f65 100644
--- a/drivers/rptun/rptun.c
+++ b/drivers/rptun/rptun.c
@@ -211,6 +211,7 @@ static rmutex_t g_rptun_lock = NXRMUTEX_INITIALIZER;
 static struct notifier_block g_rptun_panic_nb =
 {
   .notifier_call = rptun_notifier,
+  .priority = INT_MIN, /* Panic notifier should be called at the last */
 };
 #endif
 

Reply via email to