Date: Tue, 14 Nov 2006 10:12:22 GMT From: Robert Watson <rwatson@FreeBSD.org> To: rwatson@FreeBSD.org, freebsd-bugs@FreeBSD.org, rwatson@FreeBSD.org Subject: Re: kern/104765: kernel panic 6.2 prerelease-20061017 amd64 Message-ID: <200611141012.kAEACM0o030094@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: kernel panic 6.2 prerelease-20061017 amd64
Responsible-Changed-From-To: freebsd-bugs->rwatson
Responsible-Changed-By: rwatson
Responsible-Changed-When: Tue Nov 14 10:05:50 UTC 2006
Responsible-Changed-Why:
Claim ownership, since I've been looking at issues similar or identical
to this. Some questions:
(1) Could you let me know what versions of ip_output.c and tcp_usrreq.c
you're running with?
(2) Could you try the most recent patch attached to PR 102412? This is
a patch to ip_ctloutput(). I've attached it below, but the chances
are good that GNATS will mangle the patch.
Index: ip_output.c
===================================================================
RCS file: /home/ncvs/src/sys/netinet/ip_output.c,v
retrieving revision 1.242.2.16
diff -u -r1.242.2.16 ip_output.c
--- ip_output.c 24 Oct 2006 13:23:03 -0000 1.242.2.16
+++ ip_output.c 26 Oct 2006 18:20:55 -0000
@@ -1155,6 +1155,7 @@
struct sockopt *sopt;
{
struct inpcb *inp = sotoinpcb(so);
+ struct inpcbinfo *pcbinfo = inp->inp_pcbinfo;
int error, optval;
error = optval = 0;
@@ -1190,12 +1191,15 @@
m_free(m);
break;
}
+ INP_INFO_WLOCK(pcbinfo);
if (so->so_pcb == NULL) {
+ INP_INFO_WUNLOCK(pcbinfo);
m_free(m);
error = EINVAL;
break;
}
INP_LOCK(inp);
+ INP_INFO_WUNLOCK(pcbinfo);
error = ip_pcbopts(inp, sopt->sopt_name, m);
INP_UNLOCK(inp);
return (error);
http://www.freebsd.org/cgi/query-pr.cgi?pr=104765
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611141012.kAEACM0o030094>
