X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fbridge%2Fbr_stp.c;h=e38034aa56f5a2f6d1476f38cf3e931a18513fe0;hb=e48d199ba10bb8267f491a3a585ca4a833e950a4;hp=ebb0861e9bd573959eb2a4c1bdb7ef00cbcc3454;hpb=bc95f3669f5e6f63cf0b84fe4922c3c6dd4aa775;p=linux-2.6 diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c index ebb0861e9b..e38034aa56 100644 --- a/net/bridge/br_stp.c +++ b/net/bridge/br_stp.c @@ -13,7 +13,6 @@ * 2 of the License, or (at your option) any later version. */ #include -#include #include "br_private.h" #include "br_private_stp.h" @@ -179,7 +178,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)); } }