BACKPORT: xfrm: Add virtual xfrm interfaces
This patch adds support for virtual xfrm interfaces. Packets that are routed through such an interface are guaranteed to be IPsec transformed or dropped. It is a generic virtual interface that ensures IPsec transformation, no need to know what happens behind the interface. This means that we can tunnel IPv4 and IPv6 through the same interface and support all xfrm modes (tunnel, transport and beet) on it. Co-developed-by:Lorenzo Colitti <lorenzo@google.com> Co-developed-by:
Benedict Wong <benedictwong@google.com> Signed-off-by:
Lorenzo Colitti <lorenzo@google.com> Signed-off-by:
Benedict Wong <benedictwong@google.com> Signed-off-by:
Steffen Klassert <steffen.klassert@secunet.com> Acked-by:
Shannon Nelson <shannon.nelson@oracle.com> Tested-by:
Benedict Wong <benedictwong@google.com> Tested-by:
Antony Antony <antony@phenome.org> Reviewed-by:
Eyal Birger <eyal.birger@gmail.com> Conflicts: XFRM device offload not backported, as with per-cpu caching. Reverted related code. (cherry picked from commit f203b76d78092faf248db3f851840fbecf80b40e) Signed-off-by:
Benedict Wong <benedictwong@google.com> Bug: 115914689 Change-Id: Ide3110870740b0f0fe6e5a4409059756ade3c3fb
Loading
Please register or sign in to comment