buglwIP - A Lightweight TCP/IP stack - Bugs: bug #20924, TCPIP_MSG_INPKT packets processing

 
 

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

bug #20924: TCPIP_MSG_INPKT packets processing

Submitter:  Frédéric Bernon <fbernon>
Submitted:  Tue 28 Aug 2007 06:09:03 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  fbernon
Open/Closed:  Closed Planned Release:  None
lwIP version:  None

Wed 29 Aug 2007 07:53:25 AM UTC, comment #2: 

Since it's pretty minor, and doesn't change the footprint, I check in the change and close the item. If anyone is no agree, no problem, we can reopen it...

Frédéric Bernon <fbernon>
Group Member
Tue 28 Aug 2007 07:05:59 PM UTC, comment #1: 

Looks good to me. Thanks Frédéric.

Jonathan Larmour <jifl>
Group Member
Tue 28 Aug 2007 06:09:03 PM UTC, original submission:  

Since last changes for TCPIP_MSG_INPKT, there could be a problem with network interfaces like loopif which enqueue with tcpip_input IP packets, and not Ethernet packets. The patch fix this problem by checking if the netif got the NETIF_FLAG_ETHARP flag: in this case, packets are considered like Ethernet packets, else, they are considered like IP packets. No objects to check in (I think it's ok for Jonathan - as he propose me this solution on IRC, and Marc)?

Note the code is disabled if LWIP_ARP=0 to reduce footprint...

Frédéric Bernon <fbernon>
Group Member

 

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

Attached Files
file #13824:  TCPIP_MSG_INPKT.patch added by fbernon (2KiB - 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 jifl (Posted a comment)
  • -email is unavailable- added by fbernon (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
    2007-08-29 fbernon StatusNone Fixed
        Open/ClosedOpen Closed
    2007-08-28 fbernon Attached File- Added TCPIP_MSG_INPKT.patch, #13824

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code