diff options
| author | Antony Antony <antony.antony@secunet.com> | 2020-09-04 08:50:29 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-14 09:46:23 +0200 |
| commit | b932860a1168f2b99e63b30ed8c1ffb53915d2b7 (patch) | |
| tree | 10638ced3c33ee8fc56df51b98eadddbf93f65d6 /include/linux/fpga/fpga-mgr.h | |
| parent | 62457d397b90697b3b805d2316becfa9fd25580e (diff) | |
xfrm: clone whole liftime_cur structure in xfrm_do_migrate
[ Upstream commit 8366685b2883e523f91e9816d7be371eb1144749 ]
When we clone state only add_time was cloned. It missed values like
bytes, packets. Now clone the all members of the structure.
v1->v3:
- use memcpy to copy the entire structure
Fixes: 80c9abaabf42 ("[XFRM]: Extension for dynamic update of endpoint address(es)")
Signed-off-by: Antony Antony <antony.antony@secunet.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
