From cfbc9780376c463a5977c455765d73f02102fee9 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Mon, 4 Jun 2012 16:27:11 +0400 Subject: Revert "fdtrash: don't queue descriptors after context is closed (fix segfault when stopping accel-pppd)" This reverts commit 2e56893233560dfc6b3ad12eb8f75f50cb4c930f. --- accel-pppd/fdtrash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/accel-pppd/fdtrash.c b/accel-pppd/fdtrash.c index 218a0756..c43de8d5 100644 --- a/accel-pppd/fdtrash.c +++ b/accel-pppd/fdtrash.c @@ -19,8 +19,7 @@ static void __close(void *arg) void __export fdtrash_add(long fd) { - if (ctx.tpd) - triton_context_call(&ctx, (triton_event_func)__close, (void *)fd); + triton_context_call(&ctx, (triton_event_func)__close, (void *)fd); } static void init() -- cgit v1.2.3