]> git.baikalelectronics.ru Git - kernel.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)
commit060cafad6f572c47755f827acc947328003a38f6
tree1c904a111ca0a494151b83cdb51792f70fe39835
parent381a14e41b97b7b7055f9659ca0bfe22a762c274
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