[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANP3RGdRD5cQGRthBSx0HDVesf7aSBj0gxBwGxvuXrhZfKfYmw@mail.gmail.com>
Date: Wed, 3 Oct 2018 02:26:05 -0700
From: Maciej Żenczykowski <maze@...gle.com>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: Chenbo Feng <chenbofeng.kernel@...il.com>,
Linux NetDev <netdev@...r.kernel.org>,
netfilter-devel@...r.kernel.org, kernel-team@...roid.com,
Lorenzo Colitti <lorenzo@...gle.com>,
Chenbo Feng <fengc@...gle.com>
Subject: Re: [PATCH net-next] netfilter: xt_quota: fix the behavior of
xt_quota module
While on a 32-bit arch the tail pointer is 32 bits, the struct itself
contains (and has always contained) a 64-bit value 'quota' with a
forced 64-bit alignment which forces 64-bit alignment of the entire
struct and thus also forces tail padding to make it a multiple of
64-bits. ie. size doesn't change - even on 32 bits.
Chenbo was testing compatibility on both 32 and 64 bit x86 VMs.
Powered by blists - more mailing lists