aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/raw_ip.c
diff options
context:
space:
mode:
authorJeffrey Hsu <hsu@FreeBSD.org>2002-06-11 10:58:57 +0000
committerJeffrey Hsu <hsu@FreeBSD.org>2002-06-11 10:58:57 +0000
commit7a9378e7f5df19ce154eb342612a723fc0cca3ba (patch)
treeef46983f1cca4b9d176282d4ef488a9cc21f121a /sys/netinet/raw_ip.c
parent3d9baf34c03777b2b75ebf3655453ac466444f2c (diff)
downloadsrc-7a9378e7f5df19ce154eb342612a723fc0cca3ba.tar.gz
src-7a9378e7f5df19ce154eb342612a723fc0cca3ba.zip
Remember to initialize the control block head mutex.
Notes
Notes: svn path=/head/; revision=98115
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r--sys/netinet/raw_ip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index 13a84fda5ec9..f104cfc1c385 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -96,6 +96,7 @@ ip_dn_ctl_t *ip_dn_ctl_ptr;
void
rip_init()
{
+ INP_INFO_LOCK_INIT(&ripcbinfo, "rip");
LIST_INIT(&ripcb);
ripcbinfo.listhead = &ripcb;
/*