The branch main has been updated by glebius:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=79fb0d247403e205b038f27a3bec90495f500acb

commit 79fb0d247403e205b038f27a3bec90495f500acb
Author:     Gleb Smirnoff <gleb...@freebsd.org>
AuthorDate: 2025-03-07 06:58:29 +0000
Commit:     Gleb Smirnoff <gleb...@freebsd.org>
CommitDate: 2025-03-07 06:58:29 +0000

    inpcb: make inpcb hash insertion/removal functions private
---
 sys/netinet/in_pcb.h     | 3 ---
 sys/netinet/in_pcb_var.h | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index b56dedc25d63..c2b90de2ef54 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -648,7 +648,6 @@ int in_pcbconnect(struct inpcb *, struct sockaddr_in *, 
struct ucred *);
 void   in_pcbdisconnect(struct inpcb *);
 void   in_pcbdrop(struct inpcb *);
 void   in_pcbfree(struct inpcb *);
-int    in_pcbinshash(struct inpcb *);
 int    in_pcbladdr(const struct inpcb *, struct in_addr *, struct in_addr *,
            struct ucred *);
 int    in_pcblbgroup_numa(struct inpcb *, int arg);
@@ -660,8 +659,6 @@ struct inpcb *
        in_pcblookup_mbuf(struct inpcbinfo *, struct in_addr, u_int,
            struct in_addr, u_int, int, struct ifnet *, struct mbuf *);
 void   in_pcbref(struct inpcb *);
-void   in_pcbrehash(struct inpcb *);
-void   in_pcbremhash_locked(struct inpcb *);
 bool   in_pcbrele(struct inpcb *, inp_lookup_t);
 bool   in_pcbrele_rlocked(struct inpcb *);
 bool   in_pcbrele_wlocked(struct inpcb *);
diff --git a/sys/netinet/in_pcb_var.h b/sys/netinet/in_pcb_var.h
index 32fdbced175c..fb88dfec889e 100644
--- a/sys/netinet/in_pcb_var.h
+++ b/sys/netinet/in_pcb_var.h
@@ -55,6 +55,9 @@ int   in_pcb_lport_dest(const struct inpcb *inp, struct 
sockaddr *lsa,
             struct ucred *cred, int lookupflags);
 struct inpcb *in_pcblookup_local(struct inpcbinfo *, struct in_addr, u_short,
            int, int, struct ucred *);
+int     in_pcbinshash(struct inpcb *);
+void    in_pcbrehash(struct inpcb *);
+void    in_pcbremhash_locked(struct inpcb *);
 
 struct inpcbport {
        struct inpcbhead phd_pcblist;

Reply via email to