diff options
author | hsu <hsu@FreeBSD.org> | 2002-06-11 10:58:57 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 2002-06-11 10:58:57 +0000 |
commit | d1834ccc3b4dd30a064ae97391d65f6154086970 (patch) | |
tree | ef46983f1cca4b9d176282d4ef488a9cc21f121a /sys/netinet/ip_divert.c | |
parent | f140f41dad1a6e95e608fff258d030db7d39816b (diff) | |
download | FreeBSD-src-d1834ccc3b4dd30a064ae97391d65f6154086970.zip FreeBSD-src-d1834ccc3b4dd30a064ae97391d65f6154086970.tar.gz |
Remember to initialize the control block head mutex.
Diffstat (limited to 'sys/netinet/ip_divert.c')
-rw-r--r-- | sys/netinet/ip_divert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c index 2614b19..d0dfd1f 100644 --- a/sys/netinet/ip_divert.c +++ b/sys/netinet/ip_divert.c @@ -114,6 +114,7 @@ static int div_output(struct socket *so, void div_init(void) { + INP_INFO_LOCK_INIT(&divcbinfo, "div"); LIST_INIT(&divcb); divcbinfo.listhead = &divcb; /* |