From owner-cvs-all@FreeBSD.ORG Thu Apr 14 11:41:24 2005 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 1A8CA16A4CE; Thu, 14 Apr 2005 11:41:24 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E065343D5A; Thu, 14 Apr 2005 11:41:23 +0000 (GMT) (envelope-from gnn@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3EBfNu7050575; Thu, 14 Apr 2005 11:41:23 GMT (envelope-from gnn@repoman.freebsd.org) Received: (from gnn@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3EBfNwj050574; Thu, 14 Apr 2005 11:41:23 GMT (envelope-from gnn) Message-Id: <200504141141.j3EBfNwj050574@repoman.freebsd.org> From: "George V. Neville-Neil" Date: Thu, 14 Apr 2005 11:41:23 +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/netinet6 icmp6.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: Thu, 14 Apr 2005 11:41:24 -0000 gnn 2005-04-14 11:41:23 UTC FreeBSD src repository Modified files: sys/netinet6 icmp6.c Log: Remove dead code which would never execute. i.e. checking to see if a cluster was every less than 48 bytes, a rather unlikely case. Check return value of m_dup_pkthdr() calls. Found by: Coverity Reviewed by: rwatson (mentor), Keiichi Shima (for Kame) Approved by: rwatson (mentor) Revision Changes Path 1.61 +18 -18 src/sys/netinet6/icmp6.c