diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2017-02-15 11:39:54 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-02-15 13:04:10 +0300 |
commit | 54ef207ac8f7a17d677082157a29f4df8499dc81 (patch) | |
tree | 38ce4d1b10a554617818bb313331482a37156828 /net/xfrm | |
parent | 1e29537034e388c7e72eac43cfcda1d23131623b (diff) | |
download | linux-54ef207ac8f7a17d677082157a29f4df8499dc81.tar.xz |
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>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_input.c b/net/xfrm/xfrm_input.c index 86f8a8de5252..d2ff71230864 100644 --- a/net/xfrm/xfrm_input.c +++ b/net/xfrm/xfrm_input.c @@ -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; |