From: Andre Noll Date: Sun, 10 Oct 2010 19:37:03 +0000 (+0200) Subject: dccp_send: Fix com_off(). X-Git-Tag: v0.4.5~31 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=5cd331911f88f350db5e126288825450bc636f6d dccp_send: Fix com_off(). This command made para_server sefgault due to the FEC client structure being freed, but still used from vss.c. Fix this serious bug by first calling dccp_shutdown_clients() which removes all FEC clients. --- diff --git a/dccp_send.c b/dccp_send.c index 41aaf234..a2ee0270 100644 --- a/dccp_send.c +++ b/dccp_send.c @@ -155,6 +155,7 @@ static int dccp_com_on(__a_unused struct sender_command_data *scd) static int dccp_com_off(__a_unused struct sender_command_data *scd) { + dccp_shutdown_clients(); generic_com_off(dss); return 1; }