netfilter: ipset: Use fix sized type for timeout in the extension part
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 2 May 2013 08:52:27 +0000 (10:52 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 30 Sep 2013 19:33:26 +0000 (21:33 +0200)
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
include/linux/netfilter/ipset/ip_set.h

index f900f33..69aa604 100644 (file)
@@ -67,7 +67,7 @@ enum ip_set_offset {
 #define SET_WITH_COUNTER(s)    ((s)->extensions & IPSET_EXT_COUNTER)
 
 struct ip_set_ext {
-       unsigned long timeout;
+       u32 timeout;
        u64 packets;
        u64 bytes;
 };