diff options
author | Antony Antony <antony.antony@secunet.com> | 2020-09-04 09:50:29 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2020-09-07 13:45:22 +0300 |
commit | 8366685b2883e523f91e9816d7be371eb1144749 (patch) | |
tree | 8b894d76bfe23ceb42d77648e1eff79b793970d2 /include/uapi | |
parent | 7aa05d304785204703a67a6aa7f1db402889a172 (diff) | |
download | linux-8366685b2883e523f91e9816d7be371eb1144749.tar.xz |
xfrm: clone whole liftime_cur structure in xfrm_do_migrate
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>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions