mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 15:21:32 +00:00
Ensure that tcp_rx() always frees its received packet buffer.
This commit is contained in:
parent
28c711b91d
commit
fcc70c9d60
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user