diff options
| author | David Matlack <dmatlack@google.com> | 2026-04-23 20:40:28 +0300 |
|---|---|---|
| committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2026-06-01 02:31:38 +0300 |
| commit | d2850ff2f8c5acda4c1097aa53c006a75b091f2c (patch) | |
| tree | 0da4afc74df3ab3683ce7973a6484f6c7259de44 /scripts | |
| parent | a1f8ed3451ff64f6907fbbd6eb5ca4dff1e2a503 (diff) | |
| download | linux-d2850ff2f8c5acda4c1097aa53c006a75b091f2c.tar.xz | |
liveupdate: Use refcount_t for FLB reference counts
Use refcount_t instead of a raw integer to keep track of references on
incoming and outgoing FLBs. Using refcount_t provides protection from
overflow, underflow, and other issues.
Fixes: cab056f2aae7 ("liveupdate: luo_flb: introduce File-Lifecycle-Bound global state")
Signed-off-by: David Matlack <dmatlack@google.com>
Reviewed-by: Samiullah Khawaja <skhawaja@google.com>
Reviewed-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Link: https://lore.kernel.org/r/20260423174032.3140399-2-dmatlack@google.com
Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
