diff options
| author | Suresh Sundriyal | 2016-04-12 15:18:17 +0200 |
|---|---|---|
| committer | Michael Brown | 2016-04-12 15:18:17 +0200 |
| commit | 4afb75842314c454980c748586764afb187cef7c (patch) | |
| tree | 4875c7b4229f2a203f6ee68b850a1617023dd372 /src/include/ipxe/pool.h | |
| parent | [golan] Add missing iounmap() (diff) | |
| download | ipxe-4afb75842314c454980c748586764afb187cef7c.tar.gz ipxe-4afb75842314c454980c748586764afb187cef7c.tar.xz ipxe-4afb75842314c454980c748586764afb187cef7c.zip | |
[pool] Fix check for reopenable pooled connections
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/pool.h')
| -rw-r--r-- | src/include/ipxe/pool.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) ) ); } |
