Thread (46 messages) flat view 46 messages, 4 authors, 2005-01-26

Re: [RFC 2.6.10 1/22] xfrm: Add direction information to xfrm_state

From: "David S. Miller" <davem@davemloft.net>
Date: 2005-01-21 22:38:57

On Thu, 30 Dec 2004 03:48:34 -0500
David Dillow [off-list ref] wrote:
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/12/30 00:27:15-05:00 dave@thedillows.org 
#   Add direction information to xfrm_state. This will be needed to
#   offload xfrm processing to the NIC.
And xfrm_state, when actually used, does not exist in a vacuum.
It is being used in terms of a particular xfrm_policy which has
a direction indicator already.

Given that, it seems the xfrm_state is not only unnecessary, but
also slightly illogical in fact.  If you need the direction, you
should make sure that at those places you can get back to the
policy in order to obtain that piece of information.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help