aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-08-29 15:30:52 +0000
committerJakub Kicinski <kuba@kernel.org>2025-09-01 13:15:14 -0700
commit10343e7e6c7c6558217b56fb44a538ad04752adb (patch)
tree7ccd21f137aa7b97fc0c457861e0b943619c19b1 /include
parentinet: ping: check sock_net() in ping_get_port() and ping_lookup() (diff)
downloadlinux-10343e7e6c7c6558217b56fb44a538ad04752adb.tar.gz
linux-10343e7e6c7c6558217b56fb44a538ad04752adb.zip
inet: ping: remove ping_hash()
There is no point in keeping ping_hash(). Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Reviewed-by: Yue Haibing <yuehaibing@huawei.com> Link: https://patch.msgid.link/20250829153054.474201-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/ping.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/ping.h b/include/net/ping.h
index bc7779262e60..9634b8800814 100644
--- a/include/net/ping.h
+++ b/include/net/ping.h
@@ -54,7 +54,6 @@ struct pingfakehdr {
};
int ping_get_port(struct sock *sk, unsigned short ident);
-int ping_hash(struct sock *sk);
void ping_unhash(struct sock *sk);
int ping_init_sock(struct sock *sk);