buglwIP - A Lightweight TCP/IP stack - Bugs: bug #29617, sometime cause stall on delete...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29617: sometime cause stall on delete listening connection

Submitted by:  Sergey Safronov <sergeysafronov>
Submitted on:  Tue 20 Apr 2010 10:35:40 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Wed 21 Apr 2010 08:02:24 PM UTC, comment #1:

Fixed (in a slightly different way), thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Tue 20 Apr 2010 10:35:40 AM UTC, original submission:

The function 'netconn_drain()' called form 'netconn_delete()' some time use calling 'netconn_delete()' again. It cause stalling on wait for complete message processing. Nested messages does not work.
In my case I resolve this trouble by the folowing way:

File 'api_msg.c' function 'netconn_drain()':
- netconn_delete((struct netconn *)mem);
+ struct api_msg_msg msg;
+ struct netconn conn=(struct netconn )mem;
+ if (conn != NULL)
+ {
+ msg.conn = conn;
+ do_delconn(&msg);
+ netconn_free(conn);
+ }

Best regards/
=Sergey

Sergey Safronov <sergeysafronov>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by sergeysafronov (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 21 Apr 2010 08:02:24 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1