]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/bridge/br_fdb.c
[NET]: uninline skb_push, de-bloats a lot
[linux-2.6-omap-h63xx.git] / net / bridge / br_fdb.c
index eb57502bb2641b7087b50a8c2577699f3b3ab388..9326c377822ed3d6e51e0116c73d22e4aaa84608 100644 (file)
@@ -44,7 +44,7 @@ int __init br_fdb_init(void)
        return 0;
 }
 
-void __exit br_fdb_fini(void)
+void br_fdb_fini(void)
 {
        kmem_cache_destroy(br_fdb_cache);
 }
@@ -136,7 +136,7 @@ void br_fdb_cleanup(unsigned long _data)
                        this_timer = f->ageing_timer + delay;
                        if (time_before_eq(this_timer, jiffies))
                                fdb_delete(f);
-                       else if (this_timer < next_timer)
+                       else if (time_before(this_timer, next_timer))
                                next_timer = this_timer;
                }
        }