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>] [day] [month] [year] [list]
Date:	Tue, 01 Mar 2011 15:11:19 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	netdev@...r.kernel.org
Subject: [PATCH 0/8] Simplify IPSEC lookup interfaces.


We have two major uglies in our IPSEC rule resolution main entrypoint(s).

First, we have two interfaces, xfrm_lookup and __xfrm_lookup solely so
that callers can implement blackhole route resolution locally.  This
results in a lot of duplicated code.

But it's unnecessary as we can simply make this an afinfo->op()

Secondly we have all of this magic to propagate "can sleep in this
context" state via messy arguments.  Store this inside of the flow
flags instead of via extra arguments.

Now we are down to one interface, xfrm_lookup().

Signed-off-by: David S. Miller <davem@...emloft.net>
--
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