From owner-cvs-all@FreeBSD.ORG Fri Jun 18 12:59:37 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCA2416A4CE; Fri, 18 Jun 2004 12:59:37 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD1B543D55; Fri, 18 Jun 2004 12:59:37 +0000 (GMT) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5ICwkEp028876; Fri, 18 Jun 2004 12:58:46 GMT (envelope-from bms@repoman.freebsd.org) Received: (from bms@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5ICwkrw028875; Fri, 18 Jun 2004 12:58:46 GMT (envelope-from bms) Message-Id: <200406181258.i5ICwkrw028875@repoman.freebsd.org> From: Bruce M Simpson Date: Fri, 18 Jun 2004 12:58:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet ip_input.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 12:59:38 -0000 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