connection: fix up some "dubious" usages of "!x & y"

It should be right, but someone should really test this...

Also resolve a sparse warning on pool.c

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>