buglwIP - A Lightweight TCP/IP stack - Bugs: bug #56136, The netif->mtu6 was updated by...

 
 

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

bug #56136: The netif->mtu6 was updated by Router Advertisement abnomally

Submitter:  Gao Qingshui <kevingao>
Submitted:  Sun 14 Apr 2019 01:45:19 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:  git head

Mon 06 May 2019 10:45:11 AM UTC, comment #2: 

Pushed your patch, thanks for reporting!

Dirk Ziegelmeier <dziegel>
Group administrator
Tue 30 Apr 2019 11:49:35 AM UTC, comment #1: 

Additional TODO to avoid MTU getting smaller: On link down, MTU should be reset to initial value of netif->mtu (see netif->add())

Dirk Ziegelmeier <dziegel>
Group administrator
Sun 14 Apr 2019 01:45:19 PM UTC, original submission:  

Let's assume there are two routers in the network, we named them router A and B. The MTU announced in RA message from Router A is 1280, and the MTU from Router B is 1500. If the RA msg from Router A received by lwip before Router B, what's the netif->mtu6 in this scenario. The answer is the netif->mtu6 is 1500, and it is abnormal as we do IPv6 fragmentation using wrong MTU.
so the correct method is to make netif->mtu6 equals the minimum value of all the RA message, pls refer the attached patch.

Gao Qingshui <kevingao>

 

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

Attached Files
file #46770:  update-netif-mtu6.patch added by kevingao (555B - text/x-patch)

 

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 kevingao (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-06 dziegel StatusNone Fixed
        Open/ClosedOpen Closed
    2019-04-14 kevingao Attached File- Added update-netif-mtu6.patch, #46770

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code