X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=net%2Fbridge%2Fbr_stp.c;h=921bbe5cb94a9690028cb2e2677b0508f4c31519;hb=63a16f90167850010864a9e8ebb71d216983090f;hp=0e035d6162cc840e1e7a71592f79894e0cb5b316;hpb=6ec129c3a2f8b38bc37e42348470ccfcb7460146;p=linux-2.6 diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c index 0e035d6162..921bbe5cb9 100644 --- a/net/bridge/br_stp.c +++ b/net/bridge/br_stp.c @@ -5,14 +5,13 @@ * Authors: * Lennert Buytenhek * - * $Id: br_stp.c,v 1.4 2000/06/19 10:13:35 davem Exp $ - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #include +#include #include "br_private.h" #include "br_private_stp.h" @@ -178,7 +177,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)); } }