]> git.ipfire.org Git - thirdparty/linux.git/commit
psp: don't use flags for checking sk_state
authorDaniel Zahka <daniel.zahka@gmail.com>
Thu, 18 Sep 2025 15:52:04 +0000 (08:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 20 Sep 2025 00:01:20 +0000 (17:01 -0700)
commit28bb24dadd0ed70aed43cf9af3a54c22c3ce04b2
tree567b7e24f5f5264e5f7f80e4888f0cf7b4ae60de
parent803cdb6ddca3e24418226e17e4b1c1134619aca8
psp: don't use flags for checking sk_state

Using flags to check sk_state only makes sense to check for a subset
of states in parallel e.g. sk_fullsock(). We are not doing that
here. Compare for individual states directly.

Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20250918155205.2197603-4-daniel.zahka@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/psp/functions.h