xfrm: clone missing x->lastused in xfrm_do_migrate
stable inclusion from stable-v5.10.140 commit 4379a10c1db793ce39ea410e36ddc3099ec0694c category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I63FTT Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4379a10c1db793ce39ea410e36ddc3099ec0694c -------------------------------- [ Upstream commit 6aa811ac ] x->lastused was not cloned in xfrm_do_migrate. Add it to clone during migrate. Fixes: 80c9abaa ("[XFRM]: Extension for dynamic update of endpoint address(es)") Signed-off-by: NAntony Antony <antony.antony@secunet.com> Signed-off-by: NSteffen Klassert <steffen.klassert@secunet.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Conflicts: net/xfrm/xfrm_state.c Reviewed-by: NWei Li <liwei391@huawei.com>
Showing
想要评论请 注册 或 登录