Skip to content

Commit a26565d

Browse files
committed
TCP: Fix occasional deadlock during a restart
1 parent f4a3288 commit a26565d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

net/net_tcp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2188,7 +2188,8 @@ void tcp_destroy(void)
21882188
}
21892189

21902190
if (tcp_write_queue) {
2191-
cond_destroy(&tcp_write_queue->cond);
2191+
/* Skip cond teardown during attendant shutdown. */
2192+
/* cond_destroy(&tcp_write_queue->cond); */
21922193
shm_free(tcp_write_queue);
21932194
tcp_write_queue = 0;
21942195
}

0 commit comments

Comments
 (0)