Browse Source

netfilter: ipset: Use fix sized type for timeout in the extension part

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Jozsef Kadlecsik 12 years ago
parent
commit
b8cd97865c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/netfilter/ipset/ip_set.h

+ 1 - 1
include/linux/netfilter/ipset/ip_set.h

@@ -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;
 };