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

login
register
mail settings
Submitter Jozsef Kadlecsik
Date May 2, 2013, 9:37 a.m.
Message ID <1367487442-3571-7-git-send-email-kadlec@blackhole.kfki.hu>
Download mbox | patch
Permalink /patch/240917/
State RFC
Headers show

Comments

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

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