Fix a kernel panic based on receiving an ICMPv6 Packet too Big message.
  (MFC was planned but has been missed)

PR:		99779
Submitted by:	Jinmei Tatuya
Reviewed by:	clement, rwatson
Approved by:	gnn (mentor)

src/sys/kern/uipc_socket.c:	1.280
This commit is contained in:
jinmei 2007-08-23 18:17:08 +00:00
parent e09aeb7b0f
commit 94c889fde1

View File

@ -1169,10 +1169,10 @@ dontblock:
}
cm = cmn;
}
if (so->so_rcv.sb_mb)
if (m != NULL)
nextrecord = so->so_rcv.sb_mb->m_nextpkt;
else
nextrecord = NULL;
nextrecord = so->so_rcv.sb_mb;
orig_resid = 0;
}
if (m != NULL) {