Message ID | 20220824050213.3643599-5-steffen.klassert@secunet.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6aa811acdb76facca0b705f4e4c1d948ccb6af8b |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [1/6] xfrm: fix refcount leak in __xfrm_policy_check() | expand |
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index ccfb172eb5b8..11d89af9cb55 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c @@ -1592,6 +1592,7 @@ static struct xfrm_state *xfrm_state_clone(struct xfrm_state *orig, x->replay = orig->replay; x->preplay = orig->preplay; x->mapping_maxage = orig->mapping_maxage; + x->lastused = orig->lastused; x->new_mapping = 0; x->new_mapping_sport = 0;