]> granicus.if.org Git - ipset/commitdiff
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>
Thu, 2 May 2013 08:52:27 +0000 (10:52 +0200)
kernel/include/linux/netfilter/ipset/ip_set.h

index 1efe3445a92628cd6c72ec81fd559deba2848b88..8499e25e55ab3e966e1adf47a420fb10cb874bf8 100644 (file)
@@ -68,7 +68,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;
 };