[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #5846] struct sockaddr_in has different alignment th
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr |
Date: |
Sat, 07 Apr 2007 09:10:18 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
Follow-up Comment #6, patch #5846 (project lwip):
OK, I can understand it's not a nice solution I brought up. What I can't
understand is why aligning the struct sockaddr would slow down lwIP. It's
just used for pointers anyway, its members are never accessed. Pushing around
an aligned pointer is not different from an unaligned, is it?
After all, I think the warning is good, as those alignment faults (if they
appear) are not easy to debug. And on changing the code, such a bug could
easily appear, since some platforms support unaligned access and some don't.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?5846>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Simon Goldschmidt, 2007/04/02
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Kieran Mansley, 2007/04/03
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Simon Goldschmidt, 2007/04/03
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Jonathan Larmour, 2007/04/05
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Simon Goldschmidt, 2007/04/06
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Jonathan Larmour, 2007/04/06
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr,
Simon Goldschmidt <=
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Jonathan Larmour, 2007/04/07
- [lwip-devel] [patch #5846] struct sockaddr_in has different alignment than struct sockaddr, Simon Goldschmidt, 2007/04/11