]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[IPSEC]: Add xfrm_input_state helper
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 11 Dec 2007 09:53:43 +0000 (01:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:05 +0000 (14:57 -0800)
commit005011211f559113686938c2c252b8ee1ab855b5
treea126bc8cbbfa9a263e06cc517fe3c1ae6f31af59
parent385ac2e3f226c09cb71733df1899658e33a7850f
[IPSEC]: Add xfrm_input_state helper

This patch adds the xfrm_input_state helper function which returns the
current xfrm state being processed on the input path given an sk_buff.
This is currently only used by xfrm_input but will be used by ESP upon
asynchronous resumption.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/xfrm/xfrm_input.c