diff options
Diffstat (limited to 'usr.sbin/iscsid/connection.c')
-rw-r--r-- | usr.sbin/iscsid/connection.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/iscsid/connection.c b/usr.sbin/iscsid/connection.c index 8701d43d610..cb76c158090 100644 --- a/usr.sbin/iscsid/connection.c +++ b/usr.sbin/iscsid/connection.c @@ -1,4 +1,4 @@ -/* $OpenBSD: connection.c,v 1.10 2011/04/27 19:02:07 claudio Exp $ */ +/* $OpenBSD: connection.c,v 1.11 2011/04/28 18:32:01 claudio Exp $ */ /* * Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org> @@ -252,6 +252,8 @@ conn_task_cleanup(struct connection *c, struct task *t) TAILQ_REMOVE(&c->tasks, t, entry); if (!TAILQ_EMPTY(&c->tasks)) conn_task_schedule(c); + else + session_schedule(c->session); } } |