commit | 54ef207ac8f7a17d677082157a29f4df8499dc81 | [log] [tgz] |
---|---|---|
author | Steffen Klassert <steffen.klassert@secunet.com> | Wed Feb 15 09:39:54 2017 +0100 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Wed Feb 15 11:04:10 2017 +0100 |
tree | 38ce4d1b10a554617818bb313331482a37156828 | |
parent | 1e29537034e388c7e72eac43cfcda1d23131623b [diff] [blame] |
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>
diff --git a/net/xfrm/xfrm_input.c b/net/xfrm/xfrm_input.c index 86f8a8d..d2ff712 100644 --- a/net/xfrm/xfrm_input.c +++ b/net/xfrm/xfrm_input.c
@@ -105,6 +105,8 @@ return NULL; sp->len = 0; + sp->olen = 0; + if (src) { int i;