[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] Patch for PaulOS + crash fixes
From: |
psheer |
Subject: |
[lwip-users] Re: [lwip] Patch for PaulOS + crash fixes |
Date: |
Wed, 08 Jan 2003 22:22:59 -0000 |
>
> This patch fixes a couple of important crashes
note that
@@ -238,7 +238,8 @@
if(pcb->state != LISTEN && pcb->state != TIME_WAIT) {
pcb->recv_data = NULL;
}
- tcp_process(pcb);
+ err = tcp_process(pcb);
+ if(err == ERR_OK) {
if(pcb->state != LISTEN) {
if(pcb->flags & TF_RESET) {
if(pcb->state != LISTEN) {
should ne
@@ -238,7 +238,8 @@
if(pcb->state != LISTEN && pcb->state != TIME_WAIT) {
pcb->recv_data = NULL;
}
- tcp_process(pcb);
+ err = tcp_process(pcb);
+ if(err != ERR_ABRT) {
if(pcb->state != LISTEN) {
if(pcb->flags & TF_RESET) {
if(pcb->state != LISTEN) {
and all user ->accept callback functions should then return
with ERR_ABRT or ERR_OK
-paul
---------------------------------------------
This message was sent using World Mail.
http://www.worldonline.co.za
[This message was sent through the lwip discussion list.]
- [lwip-users] Re: [lwip] Patch for PaulOS + crash fixes,
psheer <=
- [lwip-users] RE: [lwip] Patch for PaulOS + crash fixes, liandong, 2003/01/08
- [lwip-users] Re: [lwip] Patch for PaulOS + crash fixes, Adam Dunkels, 2003/01/08
- [lwip-users] Re: [lwip] Patch for PaulOS + crash fixes, psheer, 2003/01/08
- [lwip-users] Re: [lwip] Patch for PaulOS + crash fixes, psheer, 2003/01/08
- [lwip-users] Re: [lwip] Patch for PaulOS + crash fixes, Adam Dunkels, 2003/01/08
- [lwip-users] Re: [lwip] Patch for PaulOS + crash fixes, Adam Dunkels, 2003/01/09