[SSSD] [PATCH] BE: Add IFP to known clients

Lukas Slebodnik lslebodn at redhat.com
Tue Nov 10 13:50:57 UTC 2015


On (10/11/15 12:10), Pavel Březina wrote:
>This gets rid of confusing debug message:
>[be_client_destructor] (0x0020): Unknown client removed ...

>From 17b1d8216bab3770c58c79cf51c571cb184e8ab4 Mon Sep 17 00:00:00 2001
>From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina at redhat.com>
>Date: Tue, 10 Nov 2015 11:47:30 +0100
>Subject: [PATCH] BE: Add IFP to known clients
>
>This gets rid of confusing debug message:
>[be_client_destructor] (0x0020): Unknown client removed ...
>---
> src/providers/data_provider_be.c | 3 +++
> 1 file changed, 3 insertions(+)
>
>diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c
>index effa185f905097e0be1e03596b5fc6da75a7e382..104016ca19c093dcbb4b0c1011f06e4bb4e2a49c 100644
>--- a/src/providers/data_provider_be.c
>+++ b/src/providers/data_provider_be.c
>@@ -2107,6 +2107,9 @@ static int be_client_destructor(void *ctx)
>         } else if (becli->bectx->pac_cli == becli) {
>             DEBUG(SSSDBG_TRACE_FUNC, "Removed PAC client\n");
>             becli->bectx->pac_cli = NULL;
>+        } else if (becli->bectx->ifp_cli == becli) {
>+            DEBUG(SSSDBG_TRACE_FUNC, "Removed IFP client\n");
>+            becli->bectx->ifp_cli = NULL;
>         } else {
>             DEBUG(SSSDBG_CRIT_FAILURE, "Unknown client removed ...\n");
>         }

ACK
http://sssd-ci.duckdns.org/logs/job/32/41/

The simples reproducer is
  pkill -9 sssD_ifp

LS


More information about the sssd-devel mailing list