diff options
author | 2025-04-09 14:50:58 +0200 | |
---|---|---|
committer | 2025-04-10 17:32:57 -0700 | |
commit | 709894c52c1cafa36fe2047ba5a0b83bdf398133 (patch) | |
tree | 646a7eeba082b554e04fb9e418059be155a0d557 /lib/test_overflow.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
download | wireguard-linux-709894c52c1cafa36fe2047ba5a0b83bdf398133.tar.xz wireguard-linux-709894c52c1cafa36fe2047ba5a0b83bdf398133.zip |
af_unix: Remove unix_unhash()
Dummy unix_unhash() was introduced for sockmap in commit 94531cfcbe79
("af_unix: Add unix_stream_proto for sockmap"), but there's no need to
implement it anymore.
->unhash() is only called conditionally: in unix_shutdown() since commit
d359902d5c35 ("af_unix: Fix NULL pointer bug in unix_shutdown"), and in BPF
proto's sock_map_unhash() since commit 5b4a79ba65a1 ("bpf, sockmap: Don't
let sock_map_{close,destroy,unhash} call itself").
Remove it.
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250409-cleanup-drop-unix-unhash-v1-1-1659e5b8ee84@rbox.co
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions