[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20110301.151119.28805270.davem@davemloft.net>
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