Skip to content
Commit f6e27114 authored by Steffen Klassert's avatar Steffen Klassert
Browse files

net: Add a xfrm validate function to validate_xmit_skb



When we do IPsec offloading, we need a fallback for
packets that were targeted to be IPsec offloaded but
rerouted to a device that does not support IPsec offload.
For that we add a function that checks the offloading
features of the sending device and and flags the
requirement of a fallback before it calls the IPsec
output function. The IPsec output function adds the IPsec
trailer and does encryption if needed.

Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent b3859c8e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment