|
@@ -327,6 +327,8 @@ static void close_connection(struct connection *con, bool and_other)
|
|
|
if (con->othercon && and_other) {
|
|
|
/* Will only re-enter once. */
|
|
|
close_connection(con->othercon, false);
|
|
|
+ kmem_cache_free(con_cache, con->othercon);
|
|
|
+ con->othercon = NULL;
|
|
|
}
|
|
|
if (con->rx_page) {
|
|
|
__free_page(con->rx_page);
|