Blame SOURCES/bz1718773-avoid-ipc-deadlock.patch

447b9a
diff --git a/lib/ipc_setup.c b/lib/ipc_setup.c
447b9a
index 43dc3e7..b3f3412 100644
447b9a
--- a/lib/ipc_setup.c
447b9a
+++ b/lib/ipc_setup.c
447b9a
@@ -843,12 +843,13 @@ qb_ipcs_uc_recv_and_auth(int32_t sock, struct qb_ipcs_service *s)
447b9a
 	setsockopt(sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
447b9a
 #endif
447b9a
 
447b9a
-	res = s->poll_fns.dispatch_add(QB_LOOP_MED,
447b9a
-					data->sock,
447b9a
-					POLLIN | POLLPRI | POLLNVAL,
447b9a
-					data, process_auth);
447b9a
+	res = s->poll_fns.dispatch_add(s->poll_priority,
447b9a
+	                               data->sock,
447b9a
+	                               POLLIN | POLLPRI | POLLNVAL,
447b9a
+	                               data, process_auth);
447b9a
 	if (res < 0) {
447b9a
-		qb_util_log(LOG_DEBUG, "Failed to process AUTH for fd (%d)", data->sock);
447b9a
+		qb_util_log(LOG_DEBUG, "Failed to arrange for AUTH for fd (%d)",
447b9a
+		            data->sock);
447b9a
 		close(sock);
447b9a
 		destroy_ipc_auth_data(data);
447b9a
 	}