lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180311.225014.597163135094047409.davem@davemloft.net>
Date:   Sun, 11 Mar 2018 22:50:14 -0400 (EDT)
From:   David Miller <davem@...emloft.net>
To:     zhanglkk1990@....com
Cc:     pshelar@....org, netdev@...r.kernel.org, zhangliping02@...du.com,
        azhou@....org
Subject: Re: [PATCH net v2] openvswitch: meter: fix the incorrect
 calculation of max delta_t

From: zhangliping <zhanglkk1990@....com>
Date: Fri,  9 Mar 2018 10:08:50 +0800

> From: zhangliping <zhangliping02@...du.com>
> 
> 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@....org>
> Signed-off-by: zhangliping <zhangliping02@...du.com>
> ---
>  V2: report EINVAL if the rate is 0 to avoid divide by zero error.

Applied and queued up for -stable, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ