[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #56136] The netif->mtu6 was updated by Router Advertis
From: |
Gao Qingshui |
Subject: |
[lwip-devel] [bug #56136] The netif->mtu6 was updated by Router Advertisement abnomally |
Date: |
Sun, 14 Apr 2019 09:45:21 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 |
URL:
<https://savannah.nongnu.org/bugs/?56136>
Summary: The netif->mtu6 was updated by Router Advertisement
abnomally
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: kevingao
Submitted on: Sun 14 Apr 2019 01:45:19 PM UTC
Category: IPv6
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: git head
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 14 Apr 2019 01:45:19 PM UTC Name: update-netif-mtu6.patch Size:
555B By: kevingao
<http://savannah.nongnu.org/bugs/download.php?file_id=46770>
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?56136>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
- [lwip-devel] [bug #56136] The netif->mtu6 was updated by Router Advertisement abnomally,
Gao Qingshui <=