Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Aug 2004 23:28:39 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Current <freebsd-current@FreeBSD.org>
Subject:   Re: panic: mutex inp not owned at /usr/src/sys/netinet/tcp_output.c:140
Message-ID:  <7mu0vhmzfs.wl@black.imgsrc.co.jp>
In-Reply-To: <Pine.NEB.3.96L.1040805094219.19039Q-100000@fledge.watson.org>
References:  <7mvffxn2mn.wl@black.imgsrc.co.jp> <Pine.NEB.3.96L.1040805094219.19039Q-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Thu, 5 Aug 2004 09:43:41 -0400 (EDT),
Robert Watson wrote:
> Could you try the attached patch?  This modifies the IPv6 code to match
> the IPv4 code in passing in the "inpcbinfo" reference for a protocol,
> rather than just its inpcb list.  This allows in6_pcbnotify() to lock the
> structure before walking it.  It also acquires the per-pcb locks before
> notifying each pcb of an event.

Can I have more patch?

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror  /usr/src/sys/netinet/tcp_subr.c
/usr/src/sys/netinet/tcp_subr.c: In function `tcp6_ctlinput':
/usr/src/sys/netinet/tcp_subr.c:1241: warning: passing arg 1 of `in6_pcbnotify' from incompatible pointer type
/usr/src/sys/netinet/tcp_subr.c:1251: warning: passing arg 1 of `in6_pcbnotify' from incompatible pointer type


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mu0vhmzfs.wl>