]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: make sock_inuse_add() available
authorEric Dumazet <edumazet@google.com>
Mon, 15 Nov 2021 17:11:48 +0000 (09:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:44:20 +0000 (07:44 +0200)
commit58de45f4d6633ff36b713e885b7d7fc7acf64378
treebde0c07c0fac609aa9bbc979eef9ec0725d1a809
parent480469f145e5abf83361e608734e421b7d99693d
net: make sock_inuse_add() available

commit d477eb9004845cb2dc92ad5eed79a437738a868a upstream.

MPTCP hard codes it, let us instead provide this helper.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
[ cherry-pick from amazon-linux amazon-5.15.y/mainline ]
Link: https://github.com/amazonlinux/linux/commit/7154d8eaac16
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/sock.h
net/core/sock.c
net/mptcp/subflow.c