In the ICMP6 path to handle FQDN 'who-are-you' queries, check that the
packet header mbuf is non-NULL before trying to create a duplicate of it. PR: 95957 Reviewed by: ume MFC after: 3 days
This commit is contained in:
parent
99535caa41
commit
31a9460383
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166619
@ -684,7 +684,7 @@ icmp6_input(mp, offp, proto)
|
||||
n = NULL;
|
||||
}
|
||||
}
|
||||
if (!m_dup_pkthdr(n, m, M_DONTWAIT)) {
|
||||
if (n && !m_dup_pkthdr(n, m, M_DONTWAIT)) {
|
||||
/*
|
||||
* Previous code did a blind M_COPY_PKTHDR
|
||||
* and said "just for rcvif". If true, then
|
||||
|
Loading…
Reference in New Issue
Block a user