netfilter endian regressions

no real bugs, just misannotations cropping up

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Al Viro 2007-07-26 17:33:19 +01:00 • committed by Linus Torvalds
commit a34c45896a
9 changed files with 23 additions and 20 deletions

View file

@ -5,8 +5,8 @@ struct xt_connlimit_data;
struct xt_connlimit_info {
union {
u_int32_t v4_mask;
u_int32_t v6_mask[4];
__be32 v4_mask;
__be32 v6_mask[4];
};
unsigned int limit, inverse;

View file

@ -35,7 +35,7 @@ union nf_conntrack_address {
union nf_conntrack_man_proto
{
/* Add other protocols here. */
u_int16_t all;
__be16 all;
struct {
__be16 port;
@ -73,7 +73,7 @@ struct nf_conntrack_tuple
union nf_conntrack_address u3;
union {
/* Add other protocols here. */
u_int16_t all;
__be16 all;
struct {
__be16 port;