xfrm: Extend the sec_path for IPsec offloading
We need to keep per packet offloading informations across the layers. So we extend the sec_path to carry these for the input and output offload codepath. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
@@ -105,6 +105,8 @@ struct sec_path *secpath_dup(struct sec_path *src)
|
||||
return NULL;
|
||||
|
||||
sp->len = 0;
|
||||
sp->olen = 0;
|
||||
|
||||
if (src) {
|
||||
int i;
|
||||
|
||||
|
Reference in New Issue
Block a user