[6/6] netfilter: ipset: Use fix sized type for timeout in the extension part

Submitted by Jozsef Kadlecsik on May 2, 2013, 9:37 a.m.

Details

Message ID 1367487442-3571-7-git-send-email-kadlec@blackhole.kfki.hu
State RFC
Headers show

Commit Message

Jozsef Kadlecsik May 2, 2013, 9:37 a.m.
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
---
 include/linux/netfilter/ipset/ip_set.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/include/linux/netfilter/ipset/ip_set.h b/include/linux/netfilter/ipset/ip_set.h
index 4d3e2cb..ba63d3d 100644
--- a/include/linux/netfilter/ipset/ip_set.h
+++ b/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;
 };