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: <20150512113742.GV8928@secunet.com>
Date:	Tue, 12 May 2015 13:37:47 +0200
From:	Steffen Klassert <steffen.klassert@...unet.com>
To:	Li RongQing <roy.qing.li@...il.com>
CC:	netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH][next] xfrm: optimise xfrm_policy_lookup_bytype

On Tue, May 12, 2015 at 04:25:07PM +0800, Li RongQing wrote:
> On Mon, May 11, 2015 at 8:06 PM, Steffen Klassert
> <steffen.klassert@...unet.com> wrote:
> >
> > priority is initialized with ~0U at the beginning of this function.
> > What if someone has an inexact policy with priority ~0U configured?
> > With your change, this policy will never match because we don't even
> > try to search for it.
> 
> The original code can not handle this kind of policy whose priority is ~0U,

Right, these kind of policies are currently not enforced.

> I will fix it when resubmit this patch.

OK, 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