]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xfrm: Accept XFRM_STATE_AF_UNSPEC SAs on IPv4/IPv6 only hosts
authorMartin Willi <martin@strongswan.org>
Wed, 3 Dec 2008 23:38:07 +0000 (15:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2008 23:38:07 +0000 (15:38 -0800)
commitd81d228567f55af517796638075dbbce9b40d7af
tree1c904a111ca0a494151b83cdb51792f70fe39835
parent29fa0b301bc823016d1a3bed41c36a8977ef9947
xfrm: Accept XFRM_STATE_AF_UNSPEC SAs on IPv4/IPv6 only hosts

Installing SAs using the XFRM_STATE_AF_UNSPEC fails on hosts with
support for one address family only. This patch accepts such SAs, even
if the processing of not supported packets will fail.

Signed-off-by: Martin Willi <martin@strongswan.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_state.c