David Miller <davem@xxxxxxxxxxxxx> writes: > > memcmp() can't make any assumptions about alignment. Newer gcc often[1] knows how to generate specialized aligned memcmp() based on the type alignment. However you need to make sure the input types are right. So in theories some casts might be enough given a new enough compiler. [1] not always unfortunately, sometimes it loses this information. -Andi -- ak@xxxxxxxxxxxxxxx -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html