2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00

netfilter: xtables: remove duplicate member

Accidentally missed removing the old out-of-union "inverse" member,
which caused the struct size to change which then gives size mismatch
warnings when using an old iptables.

It is interesting to see that gcc did not warn about this before.
(Filed http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47376 )

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
This commit is contained in:
Jan Engelhardt 2011-01-20 14:01:12 +01:00
parent cc4fc02257
commit ba12b130a6

View File

@ -18,7 +18,7 @@ struct xt_connlimit_info {
};
#endif
};
unsigned int limit, inverse;
unsigned int limit;
union {
/* revision 0 */
unsigned int inverse;