]> err.no Git - linux-2.6/blobdiff - net/bridge/br_stp.c
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[linux-2.6] / net / bridge / br_stp.c
index 0e035d6162cc840e1e7a71592f79894e0cb5b316..9e96ffcd29a34f7bd80191fb22326a6eb49d8f11 100644 (file)
@@ -13,6 +13,7 @@
  *     2 of the License, or (at your option) any later version.
  */
 #include <linux/kernel.h>
+#include <linux/rculist.h>
 
 #include "br_private.h"
 #include "br_private_stp.h"
@@ -178,7 +179,8 @@ void br_transmit_config(struct net_bridge_port *p)
                br_send_config_bpdu(p, &bpdu);
                p->topology_change_ack = 0;
                p->config_pending = 0;
-               mod_timer(&p->hold_timer, jiffies + BR_HOLD_TIME);
+               mod_timer(&p->hold_timer,
+                         round_jiffies(jiffies + BR_HOLD_TIME));
        }
 }