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

Submitted by:  JD Scott <jdscott>
Submitted on:  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>
Project 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>


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)

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

    Only logged-in users can vote.




    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.5