On (01/29/16 11:37), Eric Dumazet wrote: > > I have no idea why reading iph->saddr or iph->daddr would not hit the > problem, but accessing the 32bit ipv6 flow label would be an issue. > > Something is fishy.
I was wondering about this myself. Even on sparc, I only first ran into the errors for ipv6. I dont know if the fact that the saddr is memcpy'ed masks the error (even though the problem is still there). But doing the check of: if (!IS_ALIGNED(..)) on the iph->saddr in the code does result in a positive. > But really adding unaligned() accesses in flow dissector would slow it > quite a lot on MIPS and others.