david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

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

This commit is contained in:
Michael Brown 2006-12-05 21:23:23 +00:00
parent 28c711b91d
commit fcc70c9d60
1 changed files with 2 additions and 1 deletions

View File

@ -953,7 +953,8 @@ static int tcp_rx ( struct pk_buff *pkb,
* Send data
*/
tcp_senddata ( conn );
return 0;
rc = 0;
goto done;
send_tcp_nomsg:
free_pkb ( conn->tx_pkb );