Re: [PATCH 2/2] netfilter: xt_condition: change the value from boolean to u32

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Engelhardt
Date: Thursday, August 5, 2010 - 8:12 am

On Thursday 2010-08-05 16:41, luciano.coelho@nokia.com wrote:


Please also bump the .revision field to 2 with this patch so that
testing can always proceed without an ABI clash.
(rev 2 would then remain over the course of the remaining patches 
you submit.)
(rev 0 = ipt_condition/pom-ng; rev 1 = xt_condition from Xt-a)


	char buf[sizeof("4294967296")];

seems more intuitive :-)


Is it possible to use just strict_strtoul?


Since the condition value (cdmark) was thought of an nfmark-style thing, 
would it perhaps make sense to model it after it

	return (var->value & ~info->mask) ^ info->value;

Other opinions?

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] netfilter: xt_condition: change the value ..., Jan Engelhardt, (Thu Aug 5, 8:12 am)