lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #54546] RAW API ethernet_input does not support pbuf c


From: Yonatan Shkolnik
Subject: [lwip-devel] [bug #54546] RAW API ethernet_input does not support pbuf chains
Date: Tue, 21 Aug 2018 10:36:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?54546>

                 Summary: RAW API ethernet_input does not support pbuf chains
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: yonatans
            Submitted on: Tue 21 Aug 2018 02:36:54 PM UTC
                Category: None
                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: 2.0.3

    _______________________________________________________

Details:

Passing a pbuf chain to ethernet_input (src/netif/ethernet.c) will not work as
the function assumes the packet is stored in one pbuf (for example, checks
(p->len <= SIZEOF_ETH_HDR) instead of comparing p->tot_len, and assuming that
the next header offsets are on the same pbuf.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?54546>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]