summaryrefslogtreecommitdiffstats
path: root/crypto/ecc.h
diff options
context:
space:
mode:
authorzhangliping <zhangliping02@baidu.com>2018-03-09 10:08:50 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-11 22:48:59 -0400
commitddc502dfed600bff0b61d899f70d95b76223fdfc (patch)
tree93165ab7f3f204fabcf50121fd7851ee464f3195 /crypto/ecc.h
parent13fbcc8dc573482dd3f27568257fd7087f8935f4 (diff)
downloadlinux-stable-ddc502dfed600bff0b61d899f70d95b76223fdfc.tar.gz
linux-stable-ddc502dfed600bff0b61d899f70d95b76223fdfc.tar.bz2
linux-stable-ddc502dfed600bff0b61d899f70d95b76223fdfc.zip
openvswitch: meter: fix the incorrect calculation of max delta_t
Max delat_t should be the full_bucket/rate instead of the full_bucket. Also report EINVAL if the rate is zero. Fixes: 96fbc13d7e77 ("openvswitch: Add meter infrastructure") Cc: Andy Zhou <azhou@ovn.org> Signed-off-by: zhangliping <zhangliping02@baidu.com> Acked-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/ecc.h')
0 files changed, 0 insertions, 0 deletions