summaryrefslogtreecommitdiff
path: root/net/openvswitch
diff options
context:
space:
mode:
authorNiels Dossche <dossche.niels@gmail.com>2022-02-23 16:19:56 +0300
committerJakub Kicinski <kuba@kernel.org>2022-02-24 20:10:23 +0300
commit6c0d8833a605e195ae219b5042577ce52bf71fff (patch)
tree2d598899295e7c4f956902539bcec566df92a121 /net/openvswitch
parent7ff57e98fb78ad94edafbdc7435f2d745e9e6bb5 (diff)
downloadlinux-6c0d8833a605e195ae219b5042577ce52bf71fff.tar.xz
ipv6: prevent a possible race condition with lifetimes
valid_lft, prefered_lft and tstamp are always accessed under the lock "lock" in other places. Reading these without taking the lock may result in inconsistencies regarding the calculation of the valid and preferred variables since decisions are taken on these fields for those variables. Signed-off-by: Niels Dossche <dossche.niels@gmail.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Niels Dossche <niels.dossche@ugent.be> Link: https://lore.kernel.org/r/20220223131954.6570-1-niels.dossche@ugent.be Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions