* [PATCH] src: meta: Fix the size of cpu attribute.
@ 2014-09-02 18:13 Ana Rey
0 siblings, 0 replies; only message in thread
From: Ana Rey @ 2014-09-02 18:13 UTC (permalink / raw)
To: netfilter-devel; +Cc: Ana Rey
Fix the size of cpu attribute in meta_template struct.
Signed-off-by: Ana Rey <anarey@gmail.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-02 18:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-02 18:13 [PATCH] src: meta: Fix the size of cpu attribute Ana Rey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).