Please test this patch for an IPv6 related Kernel Panic....
gnn at freebsd.org
gnn at freebsd.org
Tue Jul 26 05:43:32 GMT 2005
Howdy,
The PR this addresses is 83885:
http://www.freebsd.org/cgi/query-pr.cgi?pr=83885
The patch in the PR is correct but misaligned for CURRENT. I'd like
to commit this patch to current then MFC it.
I have tested this patch and it works for me. Please comment etc.
Later,
George
Index: uipc_socket.c
===================================================================
RCS file: /Volumes/exported/FreeBSD-CVS/src/sys/kern/uipc_socket.c,v
retrieving revision 1.242
diff -u -r1.242 uipc_socket.c
--- uipc_socket.c 1 Jul 2005 16:28:30 -0000 1.242
+++ uipc_socket.c 26 Jul 2005 05:38:12 -0000
@@ -1162,7 +1162,10 @@
}
cm = cmn;
}
- nextrecord = so->so_rcv.sb_mb->m_nextpkt;
+ if (so->so_rcv.sb_mb)
+ nextrecord = so->so_rcv.sb_mb->m_nextpkt;
+ else
+ nextrecord = NULL;
orig_resid = 0;
}
if (m != NULL) {
More information about the freebsd-net
mailing list