aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2004-03-27 20:41:32 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2004-03-27 20:41:32 +0000
commit6823b8239967acfcb4215fb01f980c7505ffbff2 (patch)
tree2af623e61196a6de24e984405e2087958e9f5f97 /sys
parent60a6006b6c25324e22dcce673d5fff54f5b2c429 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/in_pcb.c3
-rw-r--r--sys/netinet/in_pcb.h3
-rw-r--r--sys/netinet/ip_divert.c2
-rw-r--r--sys/netinet/raw_ip.c2
-rw-r--r--sys/netinet/tcp_usrreq.c2
-rw-r--r--sys/netinet/udp_usrreq.c2
-rw-r--r--sys/netinet6/raw_ip6.c2
-rw-r--r--sys/netinet6/udp6_usrreq.c2
8 files changed, 8 insertions, 10 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index 0591dd4998b43..c6e2acee1119b 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -155,10 +155,9 @@ SYSCTL_INT(_net_inet_ip_portrange, OID_AUTO, reservedlow,
* Allocate a PCB and associate it with the socket.
*/
int
-in_pcballoc(so, pcbinfo, td, type)
+in_pcballoc(so, pcbinfo, type)
struct socket *so;
struct inpcbinfo *pcbinfo;
- struct thread *td;
const char *type;
{
register struct inpcb *inp;
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index 78ae12122acc1..d2f4852e33b40 100644
--- a/sys/netinet/in_pcb.h
+++ b/sys/netinet/in_pcb.h
@@ -337,8 +337,7 @@ extern int ipport_hifirstauto;
extern int ipport_hilastauto;
void in_pcbpurgeif0(struct inpcbinfo *, struct ifnet *);
-int in_pcballoc(struct socket *, struct inpcbinfo *, struct thread *,
- const char *);
+int in_pcballoc(struct socket *, struct inpcbinfo *, const char *);
int in_pcbbind(struct inpcb *, struct sockaddr *, struct thread *);
int in_pcbbind_setup(struct inpcb *, struct sockaddr *, in_addr_t *,
u_short *, struct thread *);
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
index a7097a29811f1..46c5810e98cd7 100644
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -420,7 +420,7 @@ div_attach(struct socket *so, int proto, struct thread *td)
INP_INFO_WUNLOCK(&divcbinfo);
return error;
}
- error = in_pcballoc(so, &divcbinfo, td, "divinp");
+ error = in_pcballoc(so, &divcbinfo, "divinp");
if (error) {
INP_INFO_WUNLOCK(&divcbinfo);
return error;
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index fb95702760909..7c8ba6fd89f8c 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -536,7 +536,7 @@ rip_attach(struct socket *so, int proto, struct thread *td)
INP_INFO_WUNLOCK(&ripcbinfo);
return error;
}
- error = in_pcballoc(so, &ripcbinfo, td, "rawinp");
+ error = in_pcballoc(so, &ripcbinfo, "rawinp");
if (error) {
INP_INFO_WUNLOCK(&ripcbinfo);
return error;
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 7d14ec1311f4d..c896256fbd087 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1203,7 +1203,7 @@ tcp_attach(so, td)
if (error)
return (error);
}
- error = in_pcballoc(so, &tcbinfo, td, "tcpinp");
+ error = in_pcballoc(so, &tcbinfo, "tcpinp");
if (error)
return (error);
inp = sotoinpcb(so);
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index adef1f8e9a852..56f195ee2d119 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -940,7 +940,7 @@ udp_attach(struct socket *so, int proto, struct thread *td)
return error;
}
s = splnet();
- error = in_pcballoc(so, &udbinfo, td, "udpinp");
+ error = in_pcballoc(so, &udbinfo, "udpinp");
splx(s);
if (error) {
INP_INFO_WUNLOCK(&udbinfo);
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c
index 03b9a41b58080..804d938c338d7 100644
--- a/sys/netinet6/raw_ip6.c
+++ b/sys/netinet6/raw_ip6.c
@@ -561,7 +561,7 @@ rip6_attach(struct socket *so, int proto, struct thread *td)
if (error)
return error;
s = splnet();
- error = in_pcballoc(so, &ripcbinfo, td, "raw6inp");
+ error = in_pcballoc(so, &ripcbinfo, "raw6inp");
splx(s);
if (error)
return error;
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
index 530446e288b7a..780b917ddc814 100644
--- a/sys/netinet6/udp6_usrreq.c
+++ b/sys/netinet6/udp6_usrreq.c
@@ -526,7 +526,7 @@ udp6_attach(struct socket *so, int proto, struct thread *td)
return error;
}
s = splnet();
- error = in_pcballoc(so, &udbinfo, td, "udp6inp");
+ error = in_pcballoc(so, &udbinfo, "udp6inp");
splx(s);
if (error)
return error;