[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071113.223258.148621375.davem@davemloft.net>
Date: Tue, 13 Nov 2007 22:32:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] [IPSEC]: Remove nhoff from xfrm_input
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Wed, 14 Nov 2007 14:27:58 +0800
> [IPSEC]: Remove nhoff from xfrm_input
>
> The nhoff field isn't actually necessary in xfrm_input. For tunnel mode
> transforms we now throw away the output IP header so it makes no sense to
> fill in the nexthdr field. For transport mode we can now let the function
> transport_finish do the setting and it knows where the nexthdr field is.
>
> The only other thing that needs the nexthdr field to be set is the header
> extraction code. However, we can simply move the protocol extraction out
> of the generic header extraction.
>
> We want to minimise the amount of info we have to carry around between
> transforms as this simplifies the resumption process for async crypto.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied to net-2.6.25
-
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