From c90a8cf80a74c437d71f178339e3a0748f8f9ce6 Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Thu, 24 May 2018 08:32:02 +0000 Subject: [PATCH] cxgbe/t4_tom: ABORT_RPL_RSS is a shared CPL and t4_tom shouldn't remove the global handler when it's being unloaded. --- sys/dev/cxgbe/tom/t4_cpl_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cxgbe/tom/t4_cpl_io.c b/sys/dev/cxgbe/tom/t4_cpl_io.c index 6da0dc7867a9..247a61dbc1c5 100644 --- a/sys/dev/cxgbe/tom/t4_cpl_io.c +++ b/sys/dev/cxgbe/tom/t4_cpl_io.c @@ -1942,7 +1942,7 @@ t4_uninit_cpl_io_handlers(void) t4_register_cpl_handler(CPL_PEER_CLOSE, NULL); t4_register_cpl_handler(CPL_CLOSE_CON_RPL, NULL); t4_register_cpl_handler(CPL_ABORT_REQ_RSS, NULL); - t4_register_cpl_handler(CPL_ABORT_RPL_RSS, NULL); + t4_register_shared_cpl_handler(CPL_ABORT_RPL_RSS, NULL, CPL_COOKIE_TOM); t4_register_cpl_handler(CPL_RX_DATA, NULL); t4_register_shared_cpl_handler(CPL_FW4_ACK, NULL, CPL_COOKIE_TOM); }