Date: Tue, 26 Jul 2005 14:40:50 +0900 From: gnn@freebsd.org To: freebsd-net@freebsd.org Cc: freebsd-current@freebsd.org Subject: Please test this patch for an IPv6 related Kernel Panic.... Message-ID: <m2mzoaktul.wl%gnn@neville-neil.com>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2mzoaktul.wl%gnn>