]> err.no Git - linux-2.6/blobdiff - net/netfilter/xt_hashlimit.c
Merge git://git.linux-nfs.org/pub/linux/nfs-2.6
[linux-2.6] / net / netfilter / xt_hashlimit.c
index 19103678bf2079bb3b4c3c937a6992744711bca1..2ef44d8560c154d944ea66e28e6505bc77c6222e 100644 (file)
@@ -240,7 +240,7 @@ static bool select_all(const struct xt_hashlimit_htable *ht,
 static bool select_gc(const struct xt_hashlimit_htable *ht,
                      const struct dsthash_ent *he)
 {
-       return jiffies >= he->expires;
+       return time_after_eq(jiffies, he->expires);
 }
 
 static void htable_selective_cleanup(struct xt_hashlimit_htable *ht,