linux-xiaomi-chiron/net/openvswitch
Gustavo A. R. Silva 5b7789e8fa openvswitch: meter: Use 64-bit arithmetic instead of 32-bit
Add suffix LL to constant 1000 in order to give the compiler
complete information about the proper arithmetic to use. Notice
that this constant is used in a context that expects an expression
of type long long int (64 bits, signed).

The expression (band->burst_size + band->rate) * 1000 is currently
being evaluated using 32-bit arithmetic.

Addresses-Coverity-ID: 1461563 ("Unintentional integer overflow")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-31 10:26:30 -05:00
..
actions.c
conntrack.c openvswitch: drop unneeded newline 2018-01-02 13:49:53 -05:00
conntrack.h
datapath.c net: openvswitch: datapath: fix data type in queue_gso_packets 2017-11-27 02:15:33 +09:00
datapath.h
dp_notify.c
flow.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-12-22 11:16:31 -05:00
flow.h
flow_netlink.c openvswitch: add erspan version I and II support 2018-01-25 21:39:43 -05:00
flow_netlink.h
flow_table.c
flow_table.h
Kconfig
Makefile
meter.c openvswitch: meter: Use 64-bit arithmetic instead of 32-bit 2018-01-31 10:26:30 -05:00
meter.h
vport-geneve.c
vport-gre.c
vport-internal_dev.c net: ovs: remove unused hardirq.h 2018-01-08 20:59:25 -05:00
vport-internal_dev.h
vport-netdev.c
vport-netdev.h
vport-vxlan.c
vport.c
vport.h