Explorar el Código

Ensure that tcp_rx() always frees its received packet buffer.

tags/v0.9.3
Michael Brown hace 19 años
padre
commit
fcc70c9d60
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      src/net/tcp.c

+ 2
- 1
src/net/tcp.c Ver fichero

953
 	 * Send data
953
 	 * Send data
954
 	 */
954
 	 */
955
 	tcp_senddata ( conn );
955
 	tcp_senddata ( conn );
956
-	return 0;
956
+	rc = 0;
957
+	goto done;
957
 
958
 
958
   send_tcp_nomsg:
959
   send_tcp_nomsg:
959
 	free_pkb ( conn->tx_pkb );
960
 	free_pkb ( conn->tx_pkb );

Loading…
Cancelar
Guardar