Patrick McHardy <kaber@xxxxxxxxx> wrote: Hi Patrick > On 04.02, Florian Westphal wrote: > > In fact, doing the scaling via precision_type seems to > > be a lot simpler as then its applied only in this one case of the > > prandom META_TEMPLATE while keeping this detail limited to meta.c. > > Yes, on second thought I agree, sorry. Maybe the work is not lost though, > what does seem to make sense is to use a float basetype and derive your > probability type from that. I can do this. However, I don't currently see any other type that could be derived from that. Would you be OK with leaving things as-is and adding a float type later on once a use case presents itself? I would re-word the commit message to mention the 'missing' float base type. Thanks! -- 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