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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALnjE+rmVbr+dDDpsqD4WX9fzSnNHVop8Ys==+h-dn+oYgNo+A@mail.gmail.com>
Date:	Wed, 5 Aug 2015 11:06:03 -0700
From:	Pravin Shelar <pshelar@...ira.com>
To:	Wenyu Zhang <wenyuz@...are.com>
Cc:	Jesse Gross <jgross@...are.com>, netdev <netdev@...r.kernel.org>,
	"dev@...nvswitch.org" <dev@...nvswitch.org>
Subject: Re: [ovs-dev] [PATCH net-next v3] openvswitch: Make 100 percents
 packets sampled when sampling rate is 1.

On Wed, Aug 5, 2015 at 12:30 AM, Wenyu Zhang <wenyuz@...are.com> wrote:
> When sampling rate is 1, the sampling probability is UINT32_MAX. The packet
> should be sampled even the prandom32() generate the number of UINT32_MAX.
> And none packet need be sampled when the probability is 0.
>
> Signed-off-by: Wenyu Zhang <wenyuz@...are.com>

Acked-by: Pravin B Shelar <pshelar@...ira.com>

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ