diff options
| author | Daniel Zahka <daniel.zahka@gmail.com> | 2025-09-18 08:52:03 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-19 17:01:20 -0700 |
| commit | 803cdb6ddca3e24418226e17e4b1c1134619aca8 (patch) | |
| tree | 4c8c2a64e30db32411d06695b9a68a9ca36ba6be /net/lapb/lapb_subr.c | |
| parent | f8d2f8205be8cceef2dd3c0e68e7af3c5f83c75c (diff) | |
psp: fix preemptive inet_twsk() cast in psp_sk_get_assoc_rcu()
It is weird to cast to a timewait_sock before checking sk_state, even
if the use is after such a check. Remove the tw local variable, and
use inet_twsk() directly in the timewait branch.
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20250918155205.2197603-3-daniel.zahka@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
