Please test this patch for an IPv6 related Kernel Panic....

From: <gnn_at_freebsd.org>
Date: Tue, 26 Jul 2005 14:40:50 +0900
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
_at__at_ -1162,7 +1162,10 _at__at_
 			}
 			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) {
Received on Tue Jul 26 2005 - 03:43:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC