[PATCH] src: meta: Fix the size of cpu attribute.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix the size of cpu attribute in meta_template struct.

Signed-off-by: Ana Rey <anarey@xxxxxxxxx>
---
 src/meta.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/meta.c b/src/meta.c
index 1f7217f..bf41ac4 100644
--- a/src/meta.c
+++ b/src/meta.c
@@ -394,7 +394,7 @@ static const struct meta_template meta_templates[] = {
 						BITS_PER_BYTE,
 						BYTEORDER_HOST_ENDIAN),
 	[NFT_META_CPU]		= META_TEMPLATE("cpu",  &integer_type,
-						BITS_PER_BYTE,
+						4 * BITS_PER_BYTE,
 						BYTEORDER_HOST_ENDIAN),
 };
 
-- 
1.7.10.4

--
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




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux