buglwIP - A Lightweight TCP/IP stack - Bugs: bug #53559, IPv4 to IPv6 filtering not freeing...

 
 

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

bug #53559: IPv4 to IPv6 filtering not freeing PBUFs

Submitter:  JD Scott <jdscott>
Submitted:  Wed 04 Apr 2018 06:31:44 PM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  None
lwIP version:  2.0.2

Wed 04 Apr 2018 07:04:42 PM UTC, comment #1: 

Fixed, thanks for reporting!

Dirk Ziegelmeier <dziegel>
Group administrator
Wed 04 Apr 2018 06:31:44 PM UTC, original submission:  

I ran a suite of IPv6 tests using a Maxwell Pro Network Emulator and found that tests related to filtering IPv4 to IPv6 mapped addresses were passing, but the PBUF pool was being starved. After digging into it I noticed PBUFs aren't being freed when this filtering is preformed.

The filtering in question is done in 'src/core/ipv6/ip6.c', starting at line 452.

I've added a call to 'pbuf_free(p)' in my local code and found that the stack no longer starves.

I also found this error to be in version 2.0.3 of lwIP.

JD Scott <jdscott>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by jdscott (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-04 dziegel StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code