mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Fix a kernel panic based on receiving an ICMPv6 Packet too Big message.
PR: 99779 Submitted by: Jinmei Tatuya Reviewed by: clement, rwatson MFC after: 1 week
This commit is contained in:
parent
6909dc43c5
commit
daa5817e92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161440
@ -1575,10 +1575,10 @@ soreceive_generic(so, psa, uio, mp0, controlp, flagsp)
|
||||
}
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user