On Thu, 2006-09-14 at 10:14 +0200, Thomas Graf wrote: > Looks good, we have to watch the size of struct nla_policy though. > This bumps the size from 4 bytes to 16 bytes on 64bit architectures > which might become a problem since we always use ATTR_MAX sized > arrays.
Yes, I'm aware of that, but I couldn't think of a way to handle it well. I thought about using a second array containing just the check functions, and then (ab)using `len' to index into it but that didn't seem clean enough. Can you think of something better? johannes - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html