bridge: use time_before() in br_fdb_cleanup()
authorFabio Checconi <fabio@gandalf.sssup.it>
Thu, 20 Mar 2008 22:54:58 +0000 (15:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Mar 2008 22:54:58 +0000 (15:54 -0700)
commit2bec008ca9fd009aa503b75344d1c22da9256141
tree5c3e97da66e6d0346d9de30d2fd48764e6ac29fd
parent7582a33557cc6dc42b4c6918c6e7f8e465b72a70
bridge: use time_before() in br_fdb_cleanup()

In br_fdb_cleanup() next_timer and this_timer are in jiffies, so they
should be compared using the time_after() macro.

Signed-off-by: Fabio Checconi <fabio@gandalf.sssup.it>
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c