aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2021-04-27 22:11:08 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2021-10-18 17:07:16 +0000
commit744a64bd920c79b74a695a53cddfbecee4935c05 (patch)
tree3a703a6ca83756e15ec8c785c4fa6beff1dc4294 /sys
parent5a78df20ce77e418503d0264d3daa26487908b1f (diff)
downloadsrc-744a64bd920c79b74a695a53cddfbecee4935c05.tar.gz
src-744a64bd920c79b74a695a53cddfbecee4935c05.zip
in_pcb: garbage collect in_pcbrele()
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/in_pcb.c10
-rw-r--r--sys/netinet/in_pcb.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index fc2914730e43..e267d25c4f69 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -1655,16 +1655,6 @@ in_pcbrele_wlocked(struct inpcb *inp)
return (1);
}
-/*
- * Temporary wrapper.
- */
-int
-in_pcbrele(struct inpcb *inp)
-{
-
- return (in_pcbrele_wlocked(inp));
-}
-
static void
inpcbport_free(epoch_context_t ctx)
{
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index 77a99e666663..861c0ba5f0aa 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -862,7 +862,6 @@ void in_pcbnotifyall(struct inpcbinfo *pcbinfo, struct in_addr,
void in_pcbref(struct inpcb *);
void in_pcbrehash(struct inpcb *);
void in_pcbrehash_mbuf(struct inpcb *, struct mbuf *);
-int in_pcbrele(struct inpcb *);
int in_pcbrele_rlocked(struct inpcb *);
int in_pcbrele_wlocked(struct inpcb *);
void in_losing(struct inpcb *);