diff options
author | Florian Westphal <fwestphal@astaro.com> | 2010-02-15 17:17:10 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-02-15 17:17:10 (GMT) |
commit | 3e5e524ffb5fcf2447eb5dd9f8e54ad22dd9baa7 (patch) | |
tree | a78b8d92a63dd217e114a02e1ff0902e5e23cc41 /net/bridge | |
parent | fc0e3df4f00a5f62c2f2fce84bf496136b58c474 (diff) | |
download | linux-fsl-qoriq-3e5e524ffb5fcf2447eb5dd9f8e54ad22dd9baa7.tar.xz |
netfilter: CONFIG_COMPAT: allow delta to exceed 32767
with 32 bit userland and 64 bit kernels, it is unlikely but possible
that insertion of new rules fails even tough there are only about 2000
iptables rules.
This happens because the compat delta is using a short int.
Easily reproducible via "iptables -m limit" ; after about 2050
rules inserting new ones fails with -ELOOP.
Note that compat_delta included 2 bytes of padding on x86_64, so
structure size remains the same.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions