From 4afb75842314c454980c748586764afb187cef7c Mon Sep 17 00:00:00 2001 From: Suresh Sundriyal Date: Tue, 12 Apr 2016 14:18:17 +0100 Subject: [pool] Fix check for reopenable pooled connections Signed-off-by: Michael Brown --- src/include/ipxe/pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/ipxe/pool.h b/src/include/ipxe/pool.h index 27066e9b3..81ff57d75 100644 --- a/src/include/ipxe/pool.h +++ b/src/include/ipxe/pool.h @@ -112,7 +112,7 @@ pool_is_reopenable ( struct pooled_connection *pool ) { /* A connection is reopenable if it has been recycled but is * not yet known to be alive. */ - return ( ( pool->flags & POOL_RECYCLED ) & + return ( ( pool->flags & POOL_RECYCLED ) && ( ! ( pool->flags & POOL_ALIVE ) ) ); } -- cgit v1.2.3-55-g7522