]> git.ipfire.org Git - thirdparty/linux.git/commit
psp: make struct sock argument const in psp_sk_get_assoc_rcu()
authorDaniel Zahka <daniel.zahka@gmail.com>
Thu, 18 Sep 2025 15:52:02 +0000 (08:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 20 Sep 2025 00:01:20 +0000 (17:01 -0700)
commitf8d2f8205be8cceef2dd3c0e68e7af3c5f83c75c
treeea6d30f6636371213f66e12868e86988e4f6118e
parentb02c1230104df86d282bd298e5313bb9686cbd70
psp: make struct sock argument const in psp_sk_get_assoc_rcu()

This function does not need a mutable reference to its argument.

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