netdev-linux: Be more careful about integer overflow in policing.
authorBen Pfaff <blp@nicira.com>
Fri, 13 Mar 2015 18:30:18 +0000 (11:30 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 17 Mar 2015 19:35:50 +0000 (12:35 -0700)
commitc7952afb1258f4282140de52baa51ab59ae169e6
tree24f31d1f0f4c9910d014a76dc9b775e12cbfa0bd
parent86b3f7e1c805fa1a9f78b9df2772a1780402fbcb
netdev-linux: Be more careful about integer overflow in policing.

Otherwise the policing limits could make no sense if large rates were
specified.

Reported-by: Zhangguanghui <zhang.guanghui@h3c.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ansis Atteka <aatteka@nicira.com>
AUTHORS
lib/netdev-linux.c
vswitchd/bridge.c