This series fixes bus errors on RISC machines due to misaligned
data, e.g. see this sparc build:
https://buildd.debian.org/status/fetch.php?pkg=openvswitch&arch=sparc&ver=1.9.2%2Bgit20130813-1&stamp=1376471499
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719736
I intend to backport this to branch-1.9. It requires some effort
resolving patch rejects, but I've already done that.
Ben Pfaff (4):
ofproto: Remove obsolete comment and assertion.
packets: Do not assume that IPv4, TCP, or ARP headers are 32-bit
aligned.
packets: Introduce IPv6 headers not aligned on a 32-bit boundary.
packets, pktbuf: Align L3 headers on 32-bit boundary.
include/openvswitch/types.h | 32 ++++++++++++++++++--
lib/bfd.c | 6 ++--
lib/csum.c | 7 +++--
lib/csum.h | 2 +-
lib/flow.c | 26 ++++++++--------
lib/packets.c | 69 +++++++++++++++++++++++++------------------
lib/packets.h | 49 ++++++++++++++++++++++++------
lib/unaligned.h | 41 +++++++++++++++++++++++++
ofproto/ofproto-provider.h | 1 +
ofproto/ofproto.c | 9 ++----
ofproto/pktbuf.c | 9 +++---
11 files changed, 182 insertions(+), 69 deletions(-)
--
1.7.10.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev