diff --git a/net/openvswitch/meter.c b/net/openvswitch/meter.c index 3fbfc78991ac5748e098dc372727600d0af21ba6..04b94281a30b2b97a449efbb71fb3958afa44177 100644 --- a/net/openvswitch/meter.c +++ b/net/openvswitch/meter.c @@ -488,7 +488,7 @@ bool ovs_meter_execute(struct datapath *dp, struct sk_buff *skb, long long int max_bucket_size; band = &meter->bands[i]; - max_bucket_size = (band->burst_size + band->rate) * 1000; + max_bucket_size = (band->burst_size + band->rate) * 1000LL; band->bucket += delta_ms * band->rate; if (band->bucket > max_bucket_size)