]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net-sysfs: add rps_sock_flow_table_mask() helper
authorEric Dumazet <edumazet@google.com>
Mon, 2 Mar 2026 18:14:28 +0000 (18:14 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Mar 2026 00:54:09 +0000 (16:54 -0800)
commit9cde131cdd888873363b5d9dfd8d4d4c1fae6986
tree1ceb14f3759bd6d8d62ca4fae81cb5374c57a7bf
parent61753849b8bc6420cc5834fb3de331ce1134060d
net-sysfs: add rps_sock_flow_table_mask() helper

In preparation of the following patch, abstract access
to the @mask field in 'struct rps_sock_flow_table'.

Also cleanup rps_sock_flow_sysctl() a bit :

- Rename orig_sock_table to o_sock_table.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260302181432.1836150-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/rps.h
net/core/dev.c
net/core/sysctl_net_core.c