[bug #54865] Linkoutput gets pbufs > netif->mtu with IP_FRAG

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #54865] Linkoutput gets pbufs > netif->mtu with IP_FRAG

Simon Goldschmidt
URL:
  <https://savannah.nongnu.org/bugs/?54865>

                 Summary: Linkoutput gets pbufs > netif->mtu with IP_FRAG
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: ghostav
            Submitted on: Fri 19 Oct 2018 10:23:20 AM UTC
                Category: IPv4
                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:

Hi,
I have IP_FRAG=1 defined in my lwipopts.h, but nevertheless in my linkoutput
callback I get pbufs with tot_len > netif->mtu. For my understanding, IP_FRAG
should ensure this condition?




    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54865>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[bug #54865] Linkoutput gets pbufs > netif->mtu with IP_FRAG

Simon Goldschmidt
Follow-up Comment #1, bug #54865 (project lwip):

My bad. I forgot that the Ethernet Header is not part of the MTU. Thus a
length of pbuf->tot_len of MTU+14 is correct...

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54865>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[bug #54865] Linkoutput gets pbufs > netif->mtu with IP_FRAG

Simon Goldschmidt
Update of bug #54865 (project lwip):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?54865>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel