Date: Fri, 18 Jun 2004 12:58:46 +0000 (UTC) From: Bruce M Simpson <bms@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_input.c Message-ID: <200406181258.i5ICwkrw028875@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bms 2004-06-18 12:58:46 UTC
FreeBSD src repository
Modified files:
sys/netinet ip_input.c
Log:
Check that m->m_pkthdr.rcvif is not NULL before checking if a packet
was received on a broadcast address on the input path. Under certain
circumstances this could result in a panic, notably for locally-generated
packets which do not have m_pkthdr.rcvif set.
This is a similar situation to that which is solved by
src/sys/netinet/ip_icmp.c rev 1.66.
PR: kern/52935
Revision Changes Path
1.275 +2 -1 src/sys/netinet/ip_input.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406181258.i5ICwkrw028875>
