mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
Ensure that tcp_rx() always frees its received packet buffer.
This commit is contained in:
@@ -953,7 +953,8 @@ static int tcp_rx ( struct pk_buff *pkb,
|
|||||||
* Send data
|
* Send data
|
||||||
*/
|
*/
|
||||||
tcp_senddata ( conn );
|
tcp_senddata ( conn );
|
||||||
return 0;
|
rc = 0;
|
||||||
|
goto done;
|
||||||
|
|
||||||
send_tcp_nomsg:
|
send_tcp_nomsg:
|
||||||
free_pkb ( conn->tx_pkb );
|
free_pkb ( conn->tx_pkb );
|
||||||
|
|||||||
Reference in New Issue
Block a user