Skip to content

Commit b8cd978

Browse files
author
Jozsef Kadlecsik
committed
netfilter: ipset: Use fix sized type for timeout in the extension part
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
1 parent 20b2fab commit b8cd978

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/netfilter/ipset/ip_set.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ enum ip_set_offset {
6767
#define SET_WITH_COUNTER(s) ((s)->extensions & IPSET_EXT_COUNTER)
6868

6969
struct ip_set_ext {
70-
unsigned long timeout;
70+
u32 timeout;
7171
u64 packets;
7272
u64 bytes;
7373
};

0 commit comments

Comments
 (0)