diff options
Diffstat (limited to 'fs/dlm/lowcomms.c')
-rw-r--r-- | fs/dlm/lowcomms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index dd362739d291..d15fd5f9f5c5 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c | |||
@@ -327,6 +327,8 @@ static void close_connection(struct connection *con, bool and_other) | |||
327 | if (con->othercon && and_other) { | 327 | if (con->othercon && and_other) { |
328 | /* Will only re-enter once. */ | 328 | /* Will only re-enter once. */ |
329 | close_connection(con->othercon, false); | 329 | close_connection(con->othercon, false); |
330 | kmem_cache_free(con_cache, con->othercon); | ||
331 | con->othercon = NULL; | ||
330 | } | 332 | } |
331 | if (con->rx_page) { | 333 | if (con->rx_page) { |
332 | __free_page(con->rx_page); | 334 | __free_page(con->rx_page); |