Skip to content

Commit

Permalink
netfilter: xtables: remove duplicate member
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Engelhardt committed Jan 20, 2011
1 parent cc4fc02 commit ba12b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/netfilter/xt_connlimit.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct xt_connlimit_info {
};
#endif
};
unsigned int limit, inverse;
unsigned int limit;
union {
/* revision 0 */
unsigned int inverse;
Expand Down

0 comments on commit ba12b13

Please sign in to comment.