Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.25-rc7 /net/bridge/br_fdb.c

Filename:/net/bridge/br_fdb.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.25-rc6-git8  2.6.25-rc6-git7  2.6.25-rc6-git6  2.6.24  2.6.24-rc8  2.6.24-rc7 
(Following) 2.6.25-rc8  2.6.25-rc9  2.6.25  2.6.25-git20  2.6.26-rc1  2.6.26-rc2 

Location
[  2.6.25-rc7
  [  net
    [  bridge
       o  br_fdb.c

Patch

diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c
index bc40377..9326c37 100644
--- a/net/bridge/br_fdb.c
+++ b/net/bridge/br_fdb.c
@@ -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;
       }
    }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.