diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2011-03-05 09:13:47 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2011-03-05 09:13:47 +0300 |
commit | dfecebb0dab3ade83956e7474408b7897f242b6c (patch) | |
tree | 1026d42ab47428f4c6aa653413c1d9ada4420eb3 | |
parent | 2c2662e034332ed52c4a31608afab794c00a2ec9 (diff) | |
download | accel-ppp-dfecebb0dab3ade83956e7474408b7897f242b6c.tar.gz accel-ppp-dfecebb0dab3ade83956e7474408b7897f242b6c.zip |
bugfix
-rw-r--r-- | accel-pppd/triton/triton.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/triton/triton.c b/accel-pppd/triton/triton.c index 07405911..63561d8f 100644 --- a/accel-pppd/triton/triton.c +++ b/accel-pppd/triton/triton.c @@ -188,7 +188,8 @@ static void ctx_thread(struct _triton_context_t *ctx) spin_unlock(&ctx->lock); __sync_sub_and_fetch(&triton_stat.timer_pending, 1); read(t->fd, &tt, sizeof(tt)); - t->ud->expire(t->ud); + if (t->ud) + t->ud->expire(t->ud); continue; } if (!list_empty(&ctx->pending_handlers)) { |