buglwIP - A Lightweight TCP/IP stack - Bugs: bug #2968, pbuf_chain() will not increase the...

 
 

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

bug #2968: pbuf_chain() will not increase the reference counter of the tail pbuf

Submitted by:  Leon Woestenberg <likewise>
Submitted on:  Fri 28 Mar 2003 12:54:25 AM UTC  
 
Category: pbufsSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Leon Woestenberg <likewise>
Open/Closed: ClosedPlanned Release: None
lwIP version: None

Mon 31 Mar 2003 12:11:58 PM UTC, comment #1:

Dechaining of the tail chain is now implemented as follows:

q = p->next;
p->next = NULL;
if (q != NULL) pbuf_free(q);

This correctly handles the case where q is referenced more than once.

Leon Woestenberg <likewise>
Project MemberIn charge of this item.
Fri 28 Mar 2003 12:54:25 AM UTC, original submission:

The reference counter of a pbuf should equal the number of pointers to that pbuf. (pbuf->tot_len invariant).

Subsequent dechaining should decrement the reference count of the first pbuf of the tail chain.

Leon Woestenberg <likewise>
Project MemberIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 31 Mar 2003 12:11:58 PM UTClikewiseStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1