[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #50097] Disabling struct packing should be official
From: |
Sylvain Rochet |
Subject: |
[lwip-devel] [bug #50097] Disabling struct packing should be official |
Date: |
Thu, 26 Jan 2017 13:49:43 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #7, bug #50097 (project lwip):
> The check of the link header length should catch that.
How ? When generating packets for output, we can create as many pbuf as
necessary and chaining them for alignment requirements for each layer we need
to append, but for input we can't determine if IP, UDP, TCP payloads are
always going to be on alignment boundary.
PPP have multiple compression options which remove one or two bytes of PPP
header like pcomp or accomp. For L2TP we have IP over IP, meaning we have a IP
header in the payload of a UDP packet (UDP header + IP header + PPP fields +
PPPoE/oS if PPPoL2TP over PPPoE or PPPoS is used). PPPoS is using RAW pbuf
which bypass ETH_PAD_SIZE.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?50097>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #50097] Disabling struct packing should be official, Daniel Elstner, 2017/01/19
- [lwip-devel] [bug #50097] Disabling struct packing should be official, Simon Goldschmidt, 2017/01/25
- [lwip-devel] [bug #50097] Disabling struct packing should be official, Daniel Elstner, 2017/01/25
- [lwip-devel] [bug #50097] Disabling struct packing should be official, Simon Goldschmidt, 2017/01/25
- [lwip-devel] [bug #50097] Disabling struct packing should be official, Daniel Elstner, 2017/01/26
- [lwip-devel] [bug #50097] Disabling struct packing should be official, Sylvain Rochet, 2017/01/26
- [lwip-devel] [bug #50097] Disabling struct packing should be official, Daniel Elstner, 2017/01/26
- [lwip-devel] [bug #50097] Disabling struct packing should be official,
Sylvain Rochet <=
- [lwip-devel] [bug #50097] Disabling struct packing should be official, Simon Goldschmidt, 2017/01/26