diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-12-19 02:27:53 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-12-19 03:05:59 +0100 |
commit | 81145c5548a7ab94ff69fc92359ba17fdb03f4d6 (patch) | |
tree | c58a20dcba2351a41e4cfa4a97998b81fa7e5b70 /kernel | |
parent | 7009adda3d6ded19cfcf4fb41b239c067e2805b0 (diff) | |
download | ipset-81145c5548a7ab94ff69fc92359ba17fdb03f4d6.tar.gz |
xt_set: avoid user types in exported kernel headers
Within isolated code it would be ok, but not so in exported headers.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/include/linux/netfilter/xt_set.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/include/linux/netfilter/xt_set.h b/kernel/include/linux/netfilter/xt_set.h index c6084df..69b2bd1 100644 --- a/kernel/include/linux/netfilter/xt_set.h +++ b/kernel/include/linux/netfilter/xt_set.h @@ -15,11 +15,11 @@ struct xt_set_info_v0 { ip_set_id_t index; union { - u_int32_t flags[IPSET_DIM_MAX + 1]; + __u32 flags[IPSET_DIM_MAX + 1]; struct { - u_int32_t __flags[IPSET_DIM_MAX]; - u_int8_t dim; - u_int8_t flags; + __u32 __flags[IPSET_DIM_MAX]; + __u8 dim; + __u8 flags; } compat; } u; }; @@ -38,8 +38,8 @@ struct xt_set_info_target_v0 { struct xt_set_info { ip_set_id_t index; - u_int8_t dim; - u_int8_t flags; + __u8 dim; + __u8 flags; }; /* match and target infos */ |