diff options
author | Antony Antony <[email protected]> | 2022-10-21 15:42:01 +0200 |
---|---|---|
committer | Steffen Klassert <[email protected]> | 2022-10-25 10:24:08 +0200 |
commit | f7fe25a6f00522791cce38bac552d295339d0c79 (patch) | |
tree | 3f6b2255d928958a669fcb6ace19a3d2b6a083d0 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | e91001bae0d1725d9a49b5bfb5f46f6d1ca6bf1d (diff) |
xfrm: update x->lastused for every packet
x->lastused was only updated for outgoing mobile IPv6 packet.
With this fix update it for every, in and out, packet.
This is useful to check if the a SA is still in use, or when was
the last time an SA was used. lastused time of in SA can used
to check IPsec path is functional.
Signed-off-by: Antony Antony <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions