http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
28c711b
)
Ensure that tcp_rx() always frees its received packet buffer.
author
Michael Brown
<mcb30@etherboot.org>
Tue, 5 Dec 2006 21:23:23 +0000
(21:23 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 5 Dec 2006 21:23:23 +0000
(21:23 +0000)
src/net/tcp.c
patch
|
blob
|
history
diff --git
a/src/net/tcp.c
b/src/net/tcp.c
index
ec32b89
..
afdf47c
100644
(file)
--- a/
src/net/tcp.c
+++ b/
src/net/tcp.c
@@
-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 );